Author: tkreuzer
Date: Sun Dec 27 22:30:36 2009
New Revision: 44778
URL:
http://svn.reactos.org/svn/reactos?rev=44778&view=rev
Log:
fix USERMODE=0 compilation
Modified:
branches/ros-amd64-bringup/reactos/lib/3rdparty/3rdparty.rbuild
branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/mingw.rbuild
branches/ros-amd64-bringup/reactos/subsystems/win32/win32.rbuild
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/3rdparty.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/3rdparty.rbuild [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/3rdparty.rbuild [iso-8859-1] Sun Dec
27 22:30:36 2009
@@ -7,9 +7,11 @@
<directory name="bzip2">
<xi:include href="bzip2/bzip2.rbuild" />
</directory>
- <directory name="cardlib">
- <xi:include href="cardlib/cardlib.rbuild" />
- </directory>
+ <if property="USERMODE" value="1">
+ <directory name="cardlib">
+ <xi:include href="cardlib/cardlib.rbuild" />
+ </directory>
+ </if>
<directory name="expat">
<xi:include href="expat/expat.rbuild" />
</directory>
Modified: branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/mingw.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/3…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/mingw.rbuild [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/lib/3rdparty/mingw/mingw.rbuild [iso-8859-1] Sun
Dec 27 22:30:36 2009
@@ -5,7 +5,9 @@
<define name="_CRTBLD" />
<importlibrary definition="moldname-msvcrt.def"
dllname="msvcrt.dll" />
<include base="ReactOS">include/reactos/mingw-w64</include>
- <library>kernel32</library>
+ <if property="USERMODE" value="1">
+ <library>kernel32</library>
+ </if>
<file>_newmode.c</file>
<file>atonexit.c</file>
<file>binmode.c</file>
Modified: branches/ros-amd64-bringup/reactos/subsystems/win32/win32.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/subsy…
==============================================================================
--- branches/ros-amd64-bringup/reactos/subsystems/win32/win32.rbuild [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/subsystems/win32/win32.rbuild [iso-8859-1] Sun Dec
27 22:30:36 2009
@@ -1,9 +1,11 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../../tools/rbuild/project.dtd">
<group
xmlns:xi="http://www.w3.org/2001/XInclude">
-<directory name="csrss">
- <xi:include href="csrss/csrss.rbuild" />
-</directory>
+<if property="USERMODE" value="1">
+ <directory name="csrss">
+ <xi:include href="csrss/csrss.rbuild" />
+ </directory>
+</if>
<directory name="win32k">
<xi:include href="win32k/win32k.rbuild" />
</directory>