(_wapi_handle_unref): And when the deleted shared part is pointed
[mono.git] / mono / io-layer / io-layer.h
index 3656ae0ebcbbb1c0021d3e9abd3a90f60ff334b4..72d24f45c2bb33bf135479df44fab9e15bd22647 100644 (file)
@@ -1,24 +1,30 @@
+/*
+ * io-layer.h: Include the right files depending on platform.  This
+ * file is the only entry point into the io-layer library.
+ *
+ * Author:
+ *     Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
 #ifndef _MONO_IOLAYER_IOLAYER_H_
 #define _MONO_IOLAYER_IOLAYER_H_
 
-#include <config.h>
-
-#if defined(PLATFORM_WIN32)
+#if defined(__WIN32__)
 /* Native win32 */
 #define UNICODE
 #define _UNICODE
 #define __USE_W32_SOCKETS
+#include <winsock2.h>
 #include <windows.h>
+#include <winbase.h>
+#include <ws2tcpip.h>
+#include <psapi.h>
+#include <shlobj.h>
 #else  /* EVERYONE ELSE */
 #include "mono/io-layer/wapi.h"
 #include "mono/io-layer/uglify.h"
 #endif /* PLATFORM_WIN32 */
 
-#ifdef HAVE_SYS_FILIO_H
-#include <sys/filio.h>     /* defines FIONBIO and FIONREAD */
-#endif
-#ifdef HAVE_SYS_SOCKIO_H
-#include <sys/sockio.h>    /* defines SIOCATMARK */
-#endif
-
 #endif /* _MONO_IOLAYER_IOLAYER_H_ */