home *** CD-ROM | disk | FTP | other *** search
/ The Education Master 1994 (4th Edition) / EDUCATIONS_MASTER_4TH_EDITION.bin / files / progmisc / qparser2 / lib / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-18  |  396 b   |  24 lines

  1. /*  protos.h
  2.     This provides a switch between ANSI prototypes and
  3.     non-ansi prototypes */
  4.  
  5. #ifndef PROTOS_H
  6. #define PROTOS_H
  7.  
  8. #if defined(MSDOS) | defined(TCC)
  9. #define ANSI
  10. #endif
  11.  
  12. #ifdef ANSI
  13. #define _XX_(p) p
  14. #define _YY_(p) p
  15. #else
  16. #define _XX_(p) ()
  17. #define _YY_(p) () 
  18. /* some non-ANSI compilers accept 'const'; some don't */
  19. /* #define const */
  20. #endif
  21.  
  22. #endif
  23.  
  24.