Author: tfaber
Date: Wed Oct 12 09:05:23 2011
New Revision: 54088
URL: http://svn.reactos.org/svn/reactos?rev=54088&view=rev
Log:
[STLPORT]
- Do not define min() or max() when standard headers are included. Should fix MSVC build
Modified:
trunk/reactos/include/c++/stlport/stl/config/_windows.h
Modified: trunk/reactos/include/c++/stlport/stl/config/_windows.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/stlport/st…
==============================================================================
--- trunk/reactos/include/c++/stlport/stl/config/_windows.h [iso-8859-1] (original)
+++ trunk/reactos/include/c++/stlport/stl/config/_windows.h [iso-8859-1] Wed Oct 12 09:05:23 2011
@@ -98,6 +98,10 @@
/* Define WIN32_NO_STATUS to prevent status codes redefinitions */
# if !defined(WIN32_NO_STATUS)
# define WIN32_NO_STATUS
+# endif
+/* Don't let windows.h define its min and max macros. */
+# if !defined (NOMINMAX)
+# define NOMINMAX
# endif
# include <windef.h>
Author: akhaldi
Date: Tue Oct 11 18:52:28 2011
New Revision: 54084
URL: http://svn.reactos.org/svn/reactos?rev=54084&view=rev
Log:
[CMAKE]
* Fix a typo.
Modified:
trunk/reactos/cmake/writing_CmakeLists_for_ReactOS.txt
Modified: trunk/reactos/cmake/writing_CmakeLists_for_ReactOS.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/writing_CmakeLists_f…
==============================================================================
--- trunk/reactos/cmake/writing_CmakeLists_for_ReactOS.txt [iso-8859-1] (original)
+++ trunk/reactos/cmake/writing_CmakeLists_for_ReactOS.txt [iso-8859-1] Tue Oct 11 18:52:28 2011
@@ -1,4 +1,4 @@
-CMake is used to build rectos.
+CMake is used to build ReactOS.
Here you will find what you'll need to write nice CMakeLists.txt files for ReactOS.
CMake standard functions are available too. See http://www.cmake.org/, or type cmake --help-html in your shell to get the full documentation.
@@ -10,13 +10,13 @@
This set the type of the module, and take cares of setting common linker options or definitions to the specified target, module file extension, etc. Please always use this when adding a module to reactos build.
-ARGUMENTS :
-<target> : name of the target. The module must have been added with add_executable or add_library before calling this function.
-<type> : one of win32gui, win32cui, win32dll, win32ocx, cpl, nativecui, nativedll, kernelmodedriver
-UNICODE : provide this if the module was written for unicode API
-<baseaddress> : provide this if you want your module to have a different base address than the defualt one (according to <type>). For win32dll modules, please use baseaddress.cmake instead.
-<entrypoint> : name of the function which will be the entr point of the module. If it's not provided, it's guessed from the module type.
-<stacksize> : Size of stack required for the parameters of <entrypoint>.
+ARGUMENTS:
+<target>: name of the target. The module must have been added with add_executable or add_library before calling this function.
+<type>: one of win32gui, win32cui, win32dll, win32ocx, cpl, nativecui, nativedll, kernelmodedriver
+UNICODE: provide this if the module was written for unicode API
+<baseaddress>: provide this if you want your module to have a different base address than the defualt one (according to <type>). For win32dll modules, please use baseaddress.cmake instead.
+<entrypoint>: name of the function which will be the entr point of the module. If it's not provided, it's guessed from the module type.
+<stacksize>: Size of stack required for the parameters of <entrypoint>.
-TYPICAL USE :
+TYPICAL USE:
set_module_type(msvcrt win32dll ENTRYPOINT DllMain 12)