Metropoli BBS
VIEWER: proto.h MODE: TEXT (ASCII)
/*
 * Prototype definitions for Standard and Non-standard compilers
 */

#ifndef _PROTO

#define _NEAR
#define _CDECL
#define _FAR_
#define _LOADDS_

#ifdef MSDOS

#  if defined(_DLL) && !defined(_MT)
#    error Cannot define _DLL without _MT
#  endif

#  ifdef _DLL
#    undef _LOADDS_
#    define _LOADDS_	_loadds
#  endif

#  ifdef _MT
#    undef _FAR_
#    define _FAR_	_far
#  endif

#  ifndef __STDC__
#    define __STDC__	1
#  endif

#  undef _CDECL
#  define _CDECL	cdecl

#  undef _NEAR
#  define _NEAR		near
#endif

#ifdef __STDC__
#  define _PROTO(p)	p
#else
#  define _PROTO(p)	()
#  undef  const
#  undef  volatile
#endif
#endif
[ RETURN TO DIRECTORY ]