Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2009-08-05 00:07:39 +0400
committerMiguel de Icaza <miguel@gnome.org>2009-08-05 00:07:39 +0400
commit7bf9a04a99ec3c859f844d8146155b60e34d04d8 (patch)
tree133fb25c5dd6ffcf664097d39aa5f33f0903bc33 /configure.in
parentde3ac7c01e9772a57a594b9e15f9cbe2349e670b (diff)
2009-08-04 Miguel de Icaza <miguel@novell.com>
* Start the split between PLATFORM_WIN32 and TARGET_WIN32. PLATFORM_WIN32 should be used to configure the runtime while building it. TARGET_WIN32 is used for target execution. This is used by Mono's AOT cross compiler when running on Windows, but targetting a different operating system. So we have to tell those two apart. svn path=/trunk/mono/; revision=139363
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 3f59cc0defa..b20b275f42e 100644
--- a/configure.in
+++ b/configure.in
@@ -76,7 +76,8 @@ esac
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
- AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
+ AC_DEFINE(PLATFORM_WIN32,1,[Host Platform is Win32])
+ AC_DEFINE(TARGET_WIN32,1,[Target OS is Win32])
AC_DEFINE(DISABLE_PORTABILITY,1,[Disable the io-portability layer])
AC_DEFINE(PLATFORM_NO_SYMLINKS,1,[This platform does not support symlinks])
if test "x$cross_compiling" = "xno"; then