summaryrefslogtreecommitdiff
path: root/src/skel/win/win.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-22 14:56:28 +0300
committereray orçunus <erayorcunus@gmail.com>2020-07-24 20:26:33 +0300
commit732b7608299b1bbe40d65088498d9b37ab7d9265 (patch)
treeee2e85916ffadc40bc0564348ac5041196cbf28a /src/skel/win/win.h
parent8117bcb56f00882c6cf4056431e82c9b7ef23308 (diff)
64-bit on Windows
Diffstat (limited to 'src/skel/win/win.h')
-rw-r--r--src/skel/win/win.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/skel/win/win.h b/src/skel/win/win.h
index eb32cb72..9427822d 100644
--- a/src/skel/win/win.h
+++ b/src/skel/win/win.h
@@ -9,8 +9,12 @@
#endif /* (!defined(RSREGSETBREAKALLOC)) */
#ifndef _INC_WINDOWS
-#define _X86_
-#include <windef.h>
+ #ifdef _WIN64
+ #define _AMD64_
+ #else
+ #define _X86_
+ #endif
+ #include <windef.h>
#endif
enum eWinVersion