Unify preprocessor checks for win32

<https://sourceforge.net/p/predef/wiki/OperatingSystems/> says that _WIN32 is
always defined for both 32-bit and 64-bit versions of Windows.
This commit is contained in:
2019-08-10 00:12:33 +03:00
parent 267cd00146
commit e9d6ca265c
10 changed files with 19 additions and 34 deletions
+1 -1
View File
@@ -2624,7 +2624,7 @@ static void lisp_init(size_t initial_heapsize)
#ifdef LINUX
set(symbol("*os-name*"), symbol("linux"));
#elif defined(WIN32) || defined(WIN64)
#elif defined(_WIN32)
set(symbol("*os-name*"), symbol("win32"));
#elif defined(MACOSX)
set(symbol("*os-name*"), symbol("macos"));