home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
sysutils
/
msshell
/
proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-20
|
688b
|
47 lines
/*
* 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