pte-config.h 593 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* config.h */
  2. #ifndef PTE_CONFIG_H
  3. #define PTE_CONFIG_H
  4. #include <time.h>
  5. /*********************************************************************
  6. * Defaults: see target specific redefinitions below.
  7. *********************************************************************/
  8. /* We're building the pthreads-win32 library */
  9. #define PTE_BUILD
  10. #undef PTE_SUPPORT_ASYNC_CANCEL
  11. typedef int pid_t;
  12. struct timespec
  13. {
  14. time_t tv_sec;
  15. long tv_nsec;
  16. };
  17. typedef unsigned int mode_t;
  18. struct timeb
  19. {
  20. time_t time;
  21. unsigned short millitm;
  22. short timezone;
  23. short dstflag;
  24. };
  25. #endif