summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/configurations/x64/configurations.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/configurations/x64/configurations.c')
-rw-r--r--third_party/python/gyp/test/configurations/x64/configurations.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/configurations/x64/configurations.c b/third_party/python/gyp/test/configurations/x64/configurations.c
new file mode 100644
index 0000000000..37018438fc
--- /dev/null
+++ b/third_party/python/gyp/test/configurations/x64/configurations.c
@@ -0,0 +1,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;
+}