[ros-diffs] [jgardou] 49496: [CMAKE] Fix mingw_dllmain build

jgardou at svn.reactos.org jgardou at svn.reactos.org
Fri Nov 5 18:52:58 UTC 2010


Author: jgardou
Date: Fri Nov  5 18:52:57 2010
New Revision: 49496

URL: http://svn.reactos.org/svn/reactos?rev=49496&view=rev
Log:
[CMAKE]
Fix mingw_dllmain build

Modified:
    branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt

Modified: branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt?rev=49496&r1=49495&r2=49496&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] Fri Nov  5 18:52:57 2010
@@ -55,7 +55,7 @@
 set_property(TARGET mingw_wmain PROPERTY COMPILE_DEFINITIONS WPRFLAG UNICODE _UNICODE)
 add_dependencies(mingw_wmain psdk)
 
-add_definitions(-DCRTDLL)
+add_definitions(-DCRTDLL -D_WINDOWS_)
 add_library(mingw_dllmain crtdll.c dllargv.c)
 add_dependencies(mingw_dllmain psdk)
 




More information about the Ros-diffs mailing list