Permalink
Browse files

more PLATFORM_WIN32 removal

svn path=/trunk/mono/; revision=146647
  • Loading branch information...
1 parent ef19d78 commit 76a187ae4d940be5d0b1a2ffea0020bc3a6990b1 @gonzalop gonzalop committed Nov 20, 2009
Showing with 9 additions and 9 deletions.
  1. +4 −4 support/mph.h
  2. +3 −3 support/signal.c
  3. +2 −2 support/stdio.c
View
@@ -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;
View
@@ -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
View
@@ -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)

0 comments on commit 76a187a

Please sign in to comment.