home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SH162_2S.ZIP / PROTO.H < prev    next >
C/C++ Source or Header  |  1990-02-17  |  429b  |  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.