mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Define __LINUX__ for build tools if host is Linux
svn path=/trunk/; revision=34848
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ HOST=mingw32-windows
|
||||
endif
|
||||
else
|
||||
HOST=mingw32-linux
|
||||
HOST_CFLAGS+=-fshort-wchar
|
||||
HOST_CFLAGS+=-fshort-wchar -D__LINUX__
|
||||
HOST_CPPFLAGS+=-fshort-wchar
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user