node/tools/gyp/test/configurations/x64/configurations.c

13 lines
244 B
C
Raw Normal View History

2011-12-04 04:26:50 +08:00
#include <stdio.h>
int main(int argc, char *argv[]) {
if (sizeof(void*) == 4) {
printf("Running Win32\n");
} else if (sizeof(void*) == 8) {
printf("Running x64\n");
} else {
printf("Unexpected platform\n");
}
return 0;
}