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:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-11-21 00:42:51 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-11-21 00:42:51 +0300
commit76a187ae4d940be5d0b1a2ffea0020bc3a6990b1 (patch)
treedb36926f7fc4d9b5f6d3e933cf9fa4efba0ed212 /support
parentef19d7824c18408f8e35b72d451d3db35269bb75 (diff)
more PLATFORM_WIN32 removal
svn path=/trunk/mono/; revision=146647
Diffstat (limited to 'support')
-rw-r--r--support/mph.h8
-rw-r--r--support/signal.c6
-rw-r--r--support/stdio.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/support/mph.h b/support/mph.h
index 224f0109333..db0324cc651 100644
--- a/support/mph.h
+++ b/support/mph.h
@@ -46,11 +46,11 @@
#define MPH_INTERNAL
#endif
-#if defined (PLATFORM_WIN32) && !defined (EOVERFLOW)
+#if defined (HOST_WIN32) && !defined (EOVERFLOW)
#define EOVERFLOW 75
-#endif /* def PLATFORM_WIN32 && ndef EOVERFLOW */
+#endif /* def HOST_WIN32 && ndef EOVERFLOW */
-#if !defined (PLATFORM_WIN32)
+#if !defined (HOST_WIN32)
/*
* Solaris doesn't define these BSD values, and if they're not present then
@@ -80,7 +80,7 @@
#define XATTR_AUTO 0
#endif /* ndef XATTR_AUTO */
-#endif /* ndef PLATFORM_WIN32 */
+#endif /* ndef HOST_WIN32 */
typedef gint64 mph_blkcnt_t;
typedef gint64 mph_blksize_t;
diff --git a/support/signal.c b/support/signal.c
index 8a2e761c38f..66f5c0ecb90 100644
--- a/support/signal.c
+++ b/support/signal.c
@@ -15,7 +15,7 @@
#include "map.h"
#include "mph.h"
-#ifndef PLATFORM_WIN32
+#ifndef HOST_WIN32
#include <sys/time.h>
#include <sys/types.h>
#include <poll.h>
@@ -98,7 +98,7 @@ int Mono_Posix_FromRealTimeSignum (int offset, int *r)
#endif /* defined (SIGRTMIN) && defined (SIGRTMAX) */
}
-#ifndef PLATFORM_WIN32
+#ifndef HOST_WIN32
#ifdef WAPI_ATOMIC_ASM
#define mph_int_get(p) InterlockedExchangeAdd ((p), 0)
@@ -400,7 +400,7 @@ Mono_Unix_UnixSignal_WaitAny (void** _signals, int count, int timeout /* millise
return r;
}
-#endif /* ndef PLATFORM_WIN32 */
+#endif /* ndef HOST_WIN32 */
G_END_DECLS
diff --git a/support/stdio.c b/support/stdio.c
index 444189e5aa1..78c900e9d9b 100644
--- a/support/stdio.c
+++ b/support/stdio.c
@@ -16,7 +16,7 @@
G_BEGIN_DECLS
-#ifndef PLATFORM_WIN32
+#ifndef HOST_WIN32
gint32
Mono_Posix_Syscall_L_ctermid (void)
{
@@ -32,7 +32,7 @@ Mono_Posix_Syscall_L_cuserid (void)
return L_cuserid;
#endif
}
-#endif /* ndef PLATFORM_WIN32 */
+#endif /* ndef HOST_WIN32 */
mph_size_t
Mono_Posix_Stdlib_fread (unsigned char *ptr, mph_size_t size, mph_size_t nmemb, void *stream)