From 905c20d4d6359b12bf51a95f556f75a926929bd5 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 6 May 2009 05:37:48 +0000 Subject: [PATCH] Specify additional macro-definition _WIN32_WINNT because at least Windows 2000 API is required --- salome_adm/cmake_files/FindPLATFORM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/cmake_files/FindPLATFORM.cmake b/salome_adm/cmake_files/FindPLATFORM.cmake index a753fb63a..dfc8242c3 100644 --- a/salome_adm/cmake_files/FindPLATFORM.cmake +++ b/salome_adm/cmake_files/FindPLATFORM.cmake @@ -63,6 +63,7 @@ IF(WINDOWS) SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -DWNT) SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -DPPRO_NT) # For medfile SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_USE_MATH_DEFINES) # At least for MEDMEM + SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_WIN32_WINNT=0x0500) # Windows 2000 or later API is required SET(PLATFORM_LIBADD ${PLATFORM_LIBADD} Ws2_32.lib) SET(PLATFORM_LIBADD ${PLATFORM_LIBADD} Userenv.lib) # At least for GEOM suit ELSE(WINDOWS) @@ -71,7 +72,6 @@ ENDIF(WINDOWS) # SET(PLATFORM_CPPFLAGS) # # # SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -DWNT -D_CRT_SECURE_NO_WARNINGS) -# # # SET(PLATFORM_CPPFLAGS ${PLATFORM_CPPFLAGS} -D_WIN32_WINNT=0x0500) # # SET(RM del) #ELSE(WINDOWS) # # SET(RM /bin/rm) -- 2.39.2