home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / GNU / SH164AS.ZIP / INCLUDE / SYS / PROTO.H < prev   
Encoding:
C/C++ Source or Header  |  1992-02-28  |  405 b   |  27 lines

  1. /*
  2.  * Prototype definitions for Standard and Non-standard compilers
  3.  */
  4.  
  5. #undef _PROTO
  6. #undef _CDECL
  7. #undef _NEAR
  8.  
  9. #ifdef MSDOS
  10. #  ifndef NO_EXT_KEYS                /* extensions enabled */
  11. #    define _CDECL    cdecl
  12. #    define _NEAR    near
  13. #  else 
  14. #    define _CDECL
  15. #    define _NEAR
  16. #  endif 
  17. #else
  18. #    define _CDECL
  19. #endif
  20.  
  21. #ifdef __STDC__
  22. #  define _PROTO(p)    p
  23. #else
  24. #  define _PROTO(p)    ()
  25. #  undef  const
  26. #endif
  27.