]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Use "#ifdef _WIN32" to detect Windows environment
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 11 Mar 2015 00:39:41 +0000 (01:39 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Wed, 11 Mar 2015 00:39:41 +0000 (01:39 +0100)
include/libhpcs.h

index c54fde9d2e22a329c60fa137a8954e91581635ce..07a28582828be8a4cdeee41c531bbf7d357a5fcf 100644 (file)
@@ -5,7 +5,7 @@ extern "C" {
 #include <stddef.h>
 #include <stdint.h>
 
-#ifdef __WIN32__
+#ifdef _WIN32
 #define LIBHPCS_API __declspec(dllexport)
 #define LIBHPCS_CC __cdecl
 #else