home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / gpincl07.lzh / GPINCL07 / G_CONFIG.H < prev    next >
C/C++ Source or Header  |  1993-07-24  |  1KB  |  52 lines

  1. #ifndef _G_config_h
  2. #define _G_config_h
  3.  
  4. // This files contains various system-dependent typedefs and defines.
  5. // The file only defines names in the implementor's namespace.
  6. // E.g. We define _G_size_t and not size_t.
  7. // Thus other include files can safely use _G_size_t without clashes.
  8. // In the long run, we should probably have a separate file
  9. // for each configuration.
  10.  
  11. // i dunno about the orig, its rather sleezy,
  12. //  here are the defs for atariST (ahould be this way for any machine with
  13. //  even halfway decent header file).
  14.  
  15. #include <stddef.h>
  16. #include <stdio.h>
  17. #include <time.h>
  18. #include <stdarg.h>
  19.  
  20. #ifndef _G_size_t
  21. #define _G_size_t size_t
  22. #endif
  23.  
  24. #ifndef _G_time_t
  25. #define _G_time_t time_t
  26. #endif
  27.  
  28. // Use _G_const for parameters that ought to be const,
  29. // but might not be in the vendor include files.
  30.  
  31. #ifndef _G_const
  32. #define _G_const const
  33. #endif
  34.  
  35. #ifndef _G_va_list
  36. #define _G_va_list va_list
  37. #endif
  38.  
  39. #ifndef _G_fpos_t
  40. #define _G_fpos_t fpos_t
  41. #endif
  42.  
  43. #ifndef _G_FOPEN_MAX
  44. #define _G_FOPEN_MAX FOPEN_MAX
  45. #endif
  46.  
  47. #ifndef _G_FILENAME_MAX
  48. #define _G_FILENAME_MAX FILENAME_MAX
  49. #endif
  50.  
  51. #endif /* !_G_config_h */
  52.