Author: hpoussin
Date: Sun Jul 27 10:32:40 2008
New Revision: 34848
URL:
http://svn.reactos.org/svn/reactos?rev=34848&view=rev
Log:
Define __LINUX__ for build tools if host is Linux
Modified:
trunk/reactos/Makefile
trunk/reactos/tools/sysreg/sysreg.rbuild
Modified: trunk/reactos/Makefile
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/Makefile?rev=34848&r1=…
==============================================================================
--- trunk/reactos/Makefile [iso-8859-1] (original)
+++ trunk/reactos/Makefile [iso-8859-1] Sun Jul 27 10:32:40 2008
@@ -182,7 +182,7 @@
endif
else
HOST=mingw32-linux
-HOST_CFLAGS+=-fshort-wchar
+HOST_CFLAGS+=-fshort-wchar -D__LINUX__
HOST_CPPFLAGS+=-fshort-wchar
endif
endif
Modified: trunk/reactos/tools/sysreg/sysreg.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/sysreg.rbuild…
==============================================================================
--- trunk/reactos/tools/sysreg/sysreg.rbuild [iso-8859-1] (original)
+++ trunk/reactos/tools/sysreg/sysreg.rbuild [iso-8859-1] Sun Jul 27 10:32:40 2008
@@ -2,17 +2,6 @@
<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
<module name="sysreg" type="buildtool">
- <if property="HOST" value="mingw32-linux">
- <define name="__LINUX__" />
- </if>
- <!--ifnot property="HOST" value="mingw32-linux">
- <include base="ReactOS">include</include>
- <include base="ReactOS">include/reactos</include>
- <include base="ReactOS">include/psdk</include>
- <include base="ReactOS">include/crt</include>
- <include base="ReactOS">include/reactos/libs</include>
- <include base="ReactOS"
root="intermediate">include/psdk</include>
- </ifnot-->
<file>conf_parser.cpp</file>
<file>env_var.cpp</file>
<file>rosboot_test.cpp</file>