home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / disk / archive / nspark_1 / nspark-1.7.5 / cproto.h < prev    next >
C/C++ Source or Header  |  1993-08-20  |  431b  |  23 lines

  1. /*
  2.  * protect non-ANSI C Compilers from function prototype arguments
  3.  *
  4.  * $Header: cproto.h 1.1 92/09/29 $
  5.  * $Log:    cproto.h,v $
  6.  * Revision 1.1  92/09/29  18:02:31  duplain
  7.  * Initial revision
  8.  * 
  9.  */
  10.  
  11. #ifndef __CPROTO_H
  12. #define __CPROTO_H
  13.  
  14. #if defined (__STDC__) || defined(__cplusplus)
  15. #define P__(s)    s
  16. #define ANSI_C
  17. #else /* PCC compiler */
  18. #define P__(s)    ()
  19. #undef ANSI_C
  20. #endif /* ANSI compiler */
  21.  
  22. #endif /* __CPROTO_H */
  23.