Explorar o código

core: fix windows build

Daniele Bartolini %!s(int64=7) %!d(string=hai) anos
pai
achega
36e9cd2efe
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/core/platform.h

+ 3 - 3
src/core/platform.h

@@ -49,9 +49,9 @@
 	#undef CROWN_PLATFORM_WINDOWS
 // http://msdn.microsoft.com/en-us/library/6sehtctf.aspx
 	#if !defined(WINVER) && !defined(_WIN32_WINNT)
-// Windows Server 2003 with SP1, Windows XP with SP2 and above
-		#define WINVER 0x0502
-		#define _WIN32_WINNT 0x0502
+// Windows Vista and above
+		#define WINVER 0x0600
+		#define _WIN32_WINNT 0x0600
 	#endif // !defined(WINVER) && !defined(_WIN32_WINNT)
 	#define CROWN_PLATFORM_WINDOWS 1
 #elif defined(__ANDROID__)