Source

replaceables / TMPPATH.H

#ifndef __INC_REPLACABLES_TMPPATH_H
#define __INC_REPLACABLES_TMPPATH_H

/* Non-platform specific replacable header, this will include
the appropriate header based on the mandatory definition OS_*/
/*-------------------------------------------------------------------------*/
#if defined(__OS_WIN_3__) /* Windows 3.0 ? */
        #include "Replace\Win16bit\_TmpPath.H" /* Use Windows 16-bit version */
#elif defined(__OS_WIN_NT__) /* Windows NT? */
        #include "Replace\Win32s\_TmpPath.H" /* Use Win32s version */
#elif defined(__OS_WIN_95__) /* Windows 95? */
        #include "Replace\Win32s\_TmpPath.H" /* Use Win32s version */
#elif defined(__OS_WIN_98__) /* Windows 98? */
        #include "Replace\Win32s\_TmpPath.H" /* Use Win32s version */
#elif defined(__OS_WIN_3_1__) /* Windows 3.1? */
        #include "Replace\Win16bit\_TmpPath.H" /* use 16-bit Windows version */
#elif defined(__OS_WIN_3_11__) /* Windows 3.11? */
        #include "Replace\Win16bit\_TmpPath.H" /* Use 16-bit Windows version */
#elif defined(__OS_DOS__) /* DOS? */
        #include "Replace\DOS\_TmpPath.H" /* Use the good old DOS version */
#elif defined(__OS_MAC__) /* Mac? */
        #include "Replace\Mac\_TmpPath.H" /* Use the one designed for the Mac */
#else /* Oh-no! */
	#error ("Must define OS macro or add function for OS and update standards")
#endif
/*-------------------------------------------------------------------------*/
#endif /*__INC_REPLACABLES_TMPPATH_H*/