home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_GEN
/
FACETV.ZIP
/
COMPILER.H
< prev
next >
Wrap
Text File
|
1993-12-09
|
2KB
|
69 lines
/************************************************************************
**
** @(#)compiler.h 07/12/92 Chris Ahlstrom
**
** Since this isn't exclusive to MIDIEX, might as well put it
** in its own module.
**
*************************************************************************/
#if !defined(COMPILER_h) /* { COMPILER_h */
#define COMPILER_h
/************************************************************************
** Compiler-dependent definitions of
**
** _Cdecl
** _Near
** NULL
**
*************************************************************************/
#if defined(__TURBOC__) /* Turbo or Borland C++ */
#define _Near
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#if !defined(NULL)
#if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
#define NULL 0
#else
#define NULL 0L
#endif
#endif
#define clrscr() clrscr()
#elif defined(M_I86) /* Microsoft or Quick C */
#if !defined(NO_EXT_KEYS)
#define _Near near
#define _Cdecl cdecl
#else
#define _Near
#define _Cdecl
#endif
#if !defined(NULL)
#if defined(M_I86SM) || defined(M_I86MM)
#define NULL 0
#else
#define NULL 0L
#endif
#endif
#define clrscr() _clearscreen();
#define findfirst(a,b,c) _dos_findfirst(a,c,b)
#define findnext(a) _dos_findnext(a)
#define ffblk find_t
#define ff_name name
#define ff_attrib attrib
#define FA_DIREC _A_SUBDIR
static int tnumdrives;
#endif
#endif /* } COMPILER_h */