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