* mph.h: Applied some changes from the openbsd ports tree to fix openbsd
support.
svn path=/trunk/mono/; revision=154401
+2010-03-29 Zoltan Varga <vargaz@gmail.com>
+
+ * mph.h: Applied some changes from the openbsd ports tree to fix openbsd
+ support.
+
2010-03-23 Andreas Faerber <andreas.faerber@web.de>
* old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
#include <stdint.h> /* for SIZE_MAX */
#endif
-#if __APPLE__ || __BSD__ || __FreeBSD__
+#if __APPLE__ || __BSD__ || __FreeBSD__ || __OpenBSD__
#define MPH_ON_BSD
#endif
#define MPH_INTERNAL
#endif
-#if defined (HOST_WIN32) && !defined (EOVERFLOW)
-#define EOVERFLOW 75
-#endif /* def HOST_WIN32 && ndef EOVERFLOW */
+#if !defined(EOVERFLOW)
+# if defined(HOST_WIN32)
+# define EOVERFLOW 75
+# elif defined(__OpenBSD__)
+# define EOVERFLOW 87
+# endif
+#endif /* !defined(EOVERFLOW) */
#if !defined (HOST_WIN32)