Subversion Repositories Kolibri OS

Rev

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

  1. #ifndef _MACHTYPES_H_
  2. #define _MACHTYPES_H_
  3.  
  4. /*
  5.  *  The following section is RTEMS specific and is needed to more
  6.  *  closely match the types defined in the BSD machine/types.h.
  7.  *  This is needed to let the RTEMS/BSD TCP/IP stack compile.
  8.  */
  9. #if defined(__rtems__)
  10. #include <machine/_types.h>
  11. #endif
  12.  
  13. #define _CLOCK_T_       unsigned long           /* clock() */
  14. #define _TIME_T_        long                    /* time() */
  15. #define _CLOCKID_T_     unsigned long
  16. #define _TIMER_T_       unsigned long
  17.  
  18. #ifndef _HAVE_SYSTYPES
  19. typedef long int __off_t;
  20. typedef int __pid_t;
  21. #ifdef __GNUC__
  22. __extension__ typedef long long int __loff_t;
  23. #else
  24. typedef long int __loff_t;
  25. #endif
  26. #endif
  27.  
  28. #endif  /* _MACHTYPES_H_ */
  29.  
  30.  
  31.