types.h
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. #ifndef pthread_types_h
  2. #define pthread_types_h
  3. #include <pthread/xtypes.h>
  4. #include <pthread/ac-types.h>
  5. #if !defined (pthread_va_list) && defined (__NetBSD__)
  6. #include <stdarg.h>
  7. #define pthread_va_list _BSD_VA_LIST_
  8. #endif
  9. #if !defined (pthread_va_list) && defined (__GNUC__)
  10. #define __need_va_list
  11. #include <stdarg.h>
  12. #define pthread_va_list __gnuc_va_list
  13. #endif /* pthread_va_list, __GNUC__ */
  14. /* OSF/1 does it this way.  */
  15. #if !defined (pthread_va_list) && defined (pthread_have_va_list_h)
  16. #ifndef _VA_LIST
  17. #define _HIDDEN_VA_LIST
  18. #include <va_list.h>
  19. #define pthread_va_list __va_list
  20. #else
  21. /* va_list has already been defined */
  22. #define pthread_va_list va_list
  23. #endif
  24. #endif
  25. /* If all else fails... */
  26. #ifndef pthread_va_list
  27. #include <stdarg.h>
  28. #define pthread_va_list va_list
  29. #endif
  30. #if defined(__STDC__) || defined(__GNUC__)
  31. #ifndef __P_
  32. #define __P_(protos)     protos
  33. #endif
  34. #else
  35. #ifndef __P_
  36. #define __P_(protos)
  37. #endif
  38. #endif
  39. #endif /* pthread_types_h */