blob: 37018438fc7bfe57c32931ee0c648242d1c2075b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
int main(void) {
if (sizeof(void*) == 4) {
printf("Running Win32\n");
} else if (sizeof(void*) == 8) {
printf("Running x64\n");
} else {
printf("Unexpected platform\n");
}
return 0;
}
|