1. gyulalaszlo
  2. mkz-foundation

Commits

gyulalaszlo  committed 4412e0d

fix: compilation under VS2012 gave errors because of strict keyword definitions

  • Participants
  • Parent commits afa1f40
  • Branches master

Comments (0)

Files changed (1)

File types.h

View file
 
 #include <stdint.h>
 
+// Using alignof and nullptr as macro is error in VS 2012. 
+#define _ALLOW_KEYWORD_MACROS
+
 #ifndef alignof
 	#define alignof(x) __alignof(x)
-#endif
+#endif
+