Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
  2. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  3. #ifndef __dj_include_libc_stubs_h__
  4. #define __dj_include_libc_stubs_h__
  5.  
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9.  
  10. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  11.  
  12. #ifndef __STRICT_ANSI__
  13.  
  14. #ifndef _POSIX_SOURCE
  15.  
  16. /* POSIX functions (for when compiling an ANSI function) */
  17.  
  18. /* DJGPP functions (for compiling POSIX or ANSI functions) */
  19. #define crlf2nl __crlf2nl
  20. #define dosmemget __dosmemget
  21. #define dosmemput __dosmemput
  22. #define filelength __filelength
  23. #define findfirst __findfirst
  24. #define findnext __findnext
  25. #define fsync __fsync
  26. #define getdisk __getdisk
  27. #define getdtablesize __getdtablesize
  28. #define getitimer __getitimer
  29. #define gettimeofday __gettimeofday
  30. #define modfl __modfl
  31. #define movedata __movedata
  32. #define pow10 __pow10
  33. #define pow2 __pow2
  34. #define putenv __putenv
  35. #define sbrk __sbrk
  36. #define setitimer __setitimer
  37. #define setmode __setmode
  38. #define spawnve __spawnve
  39. #define spawnvpe __spawnvpe
  40. #define stricmp __stricmp
  41. #define sync __sync
  42.  
  43. #endif /* !_POSIX_SOURCE */
  44. #endif /* !__STRICT_ANSI__ */
  45. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  46.  
  47. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  48. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #endif /* __dj_include_libc_stubs_h__ */
  55.