Missing test.
[mono.git] / mono / io-layer / io-layer.h
1 #ifndef _MONO_IOLAYER_IOLAYER_H_
2 #define _MONO_IOLAYER_IOLAYER_H_
3
4 #include <config.h>
5
6 #if defined(PLATFORM_WIN32)
7 /* Native win32 */
8 #define UNICODE
9 #define _UNICODE
10 #define __USE_W32_SOCKETS
11 #include <windows.h>
12 #else   /* EVERYONE ELSE */
13 #include "mono/io-layer/wapi.h"
14 #include "mono/io-layer/uglify.h"
15 #endif /* PLATFORM_WIN32 */
16
17 #ifdef HAVE_SYS_FILIO_H
18 #include <sys/filio.h>     /* defines FIONBIO and FIONREAD */
19 #endif
20 #ifdef HAVE_SYS_SOCKIO_H
21 #include <sys/sockio.h>    /* defines SIOCATMARK */
22 #endif
23
24 #endif /* _MONO_IOLAYER_IOLAYER_H_ */