/* * 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 #if defined(PLATFORM_WIN32) /* Native win32 */ #define UNICODE #define _UNICODE #define __USE_W32_SOCKETS #include #include #include #else /* EVERYONE ELSE */ #include "mono/io-layer/wapi.h" #include "mono/io-layer/uglify.h" #endif /* PLATFORM_WIN32 */ #ifdef HAVE_SYS_FILIO_H #include /* defines FIONBIO and FIONREAD */ #endif #ifdef HAVE_SYS_SOCKIO_H #include /* defines SIOCATMARK */ #endif #endif /* _MONO_IOLAYER_IOLAYER_H_ */