Source

replaceables / TMPPATH.c

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

/* Disable PCH warning */
#pragma warn -pch
/*-------------------------------------------------------------------------*/
#if defined(__OS_WIN_3__) /* Windows 3.0 ? */
	#include "Replace\Win16bit\_TmpPath.C" /* Use Windows 16-bit version */
#elif defined(__OS_WIN_NT__) /* Windows NT? */
	#include "Replace\Win32s\_TmpPath.C" /* Use Win32s version */
#elif defined(__OS_WIN_95__) /* Windows 95? */
	#include "Replace\Win32s\_TmpPath.C" /* Use Win32s version */
#elif defined(__OS_WIN_98__) /* Windows 98? */
	#include "Replace\Win32s\_TmpPath.C" /* Use Win32s version */
#elif defined(__OS_WIN_3_1__) /* Windows 3.1? */
	#include "Replace\Win16bit\_TmpPath.C" /* use 16-bit Windows version */
#elif defined(__OS_WIN_3_11__) /* Windows 3.11? */
	#include "Replace\Win16bit\_TmpPath.C" /* Use 16-bit Windows version */
#elif defined(__OS_DOS__) /* DOS? */
	#include "Replace\DOS\_TmpPath.C" /* Use the good old DOS version */
#elif defined(__OS_MAC__) /* Mac? */
	#include "Replace\Mac\_TmpPath.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

/* Restore warning options */
#pragma warn .pch