home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Source / GNU / debug / gdb / glob / sysdep.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-29  |  346 b   |  18 lines

  1. /* System-dependent stuff, for Sony NEwS, Mach, and other BSD-derived
  2.    systems */
  3.  
  4. #ifdef __GNUC__
  5. #define alloca __builtin_alloca
  6. #else
  7. extern char *alloca ();
  8. #endif
  9.  
  10. #include <sys/types.h>
  11. #include <sys/dir.h>
  12. typedef struct direct dirent;
  13.  
  14. #ifdef NeXT
  15. #define xmalloc(l) malloc(l)
  16. #define xrealloc(p, l) realloc((p), (l))
  17. #endif /* NeXT */
  18.