home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / source / OSLib / clstandardheaders.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-19  |  478 b   |  30 lines

  1.  
  2. #ifndef __STANDARDHEADERS_H__
  3. #define __STANDARDHEADERS_H__
  4.  
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <string.h>
  8. #include <unistd.h>
  9. #include <assert.h>
  10.  
  11.  
  12. /*
  13. #if defined(MSL_WIN_ALLOCA)
  14. #include <malloc.h>
  15. #else
  16. #include <alloca.h>
  17. #endif
  18.  
  19. #define MALLOC(t,x) ((t *)malloc((x) ? (x) : 1))
  20. #define MALLOC_TYPE(t) (t *)malloc(sizeof(t))
  21. #define MALLOC_TYPES(t,n) (t *)malloc(sizeof(t)*(n))
  22. */
  23.  
  24. #if !defined(HAVE_STRDUP)
  25. extern char *strdup(const char *s);
  26. #endif
  27.  
  28.  
  29. #endif
  30.