Source

replaceables / SleepX.c

/* Non-platform specific replacable header, this will include
the appropriate header based on the mandatory definition OS_*/

/* 16th July 1999: NightCodE doesn't like the warning cannot
create precompiled header : code in header, let's disable it */

#pragma warn -pch
/*-------------------------------------------------------------------------*/
#if defined(__OS_WIN_3__) /* Windows 3.0 ? */
	#include "Replace\Win16bit\_Sleepx.C" /* Use Windows 16-bit version */
#elif defined(__OS_WIN_NT__) /* Windows NT? */
	#include "Replace\Win32s\_Sleepx.C" /* Use Win32s version */
#elif defined(__OS_WIN_95__) /* Windows 95? */
	#include "Replace\Win32s\_Sleepx.C" /* Use Win32s version */
#elif defined(__OS_WIN_98__) /* Windows 98? */
	#include "Replace\Win32s\_Sleepx.C" /* Use Win32s version */
#elif defined(__OS_WIN_3_1__) /* Windows 3.1? */
	#include "Replace\Win16bit\_Sleepx.C" /* use 16-bit Windows version */
#elif defined(__OS_WIN_3_11__) /* Windows 3.11? */
	#include "Replace\Win16bit\_Sleepx.C" /* Use 16-bit Windows version */
#elif defined(__OS_DOS__) /* DOS? */
	#include "Replace\DOS\_Sleepx.C" /* Use the good old DOS version */
#elif defined(__OS_MAC__) /* Mac? */
	#include "Replace\Mac\_Sleepx.C" /* Use the one designed for the Mac */
#else /* Oh-no! */
	#error ("Must define OS macro or add function for OS and update standards")
#endif

/* Turn warning back on */
#pragma warn .pch