51 lines
780 B
C
51 lines
780 B
C
#ifndef _CRTDEFS_H
|
|
#define _CRTDEFS_H
|
|
|
|
/******************************
|
|
* crtdefs.h *
|
|
* - basic definitions *
|
|
******************************/
|
|
|
|
#if !defined (CRT_EXPORTS) && !defined (CRT_IMPORTS)
|
|
#define CRT_EXPORTS
|
|
#endif
|
|
|
|
#undef far
|
|
#undef near
|
|
#undef pascal
|
|
|
|
#define far
|
|
#define near
|
|
|
|
#ifdef _WIN32
|
|
#if (!defined(_MAC)) && ((_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED))
|
|
#define pascal __stdcall
|
|
#else
|
|
#define pascal
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef _MAC
|
|
#ifndef _CRTLIB
|
|
#define _CRTLIB __cdecl
|
|
#endif
|
|
#ifdef _68K_
|
|
#ifndef __pascal
|
|
#define __pascal
|
|
#endif
|
|
#endif
|
|
#elif defined( _WIN32)
|
|
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
|
|
#ifndef _CRTLIB
|
|
#define _CRTLIB __stdcall
|
|
#endif
|
|
#else
|
|
#ifndef _CRTLIB
|
|
#define _CRTLIB
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif
|