config-mac.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #ifndef __LIB_CONFIG_MAC_H
  2. #define __LIB_CONFIG_MAC_H
  3. /* ================================================================ */
  4. /* lib/config-mac.h - Hand crafted config file for Mac OS 9 */
  5. /* ================================================================ */
  6. /* On Mac OS X you must run configure to generate config.h file */
  7. /* ================================================================ */
  8. #define OS "mac"
  9. #define HAVE_NETINET_IN_H 1
  10. #define HAVE_SYS_SOCKET_H 1
  11. #define HAVE_SYS_SELECT_H 1
  12. #define HAVE_NETDB_H 1
  13. #define HAVE_ARPA_INET_H 1
  14. #define HAVE_UNISTD_H 1
  15. #define HAVE_NET_IF_H 1
  16. #define HAVE_SYS_TYPES_H 1
  17. #define HAVE_GETTIMEOFDAY 1
  18. #define HAVE_FCNTL_H 1
  19. #define HAVE_SYS_STAT_H 1
  20. #define HAVE_ALLOCA_H 1
  21. #define HAVE_TIME_H 1
  22. #define HAVE_STDLIB_H 1
  23. #define HAVE_UTIME_H 1
  24. #define HAVE_SYS_TIME_H 1
  25. #define TIME_WITH_SYS_TIME 1
  26. #define HAVE_ALARM 1
  27. #define HAVE_STRDUP 1
  28. #define HAVE_UTIME 1
  29. #define HAVE_SETVBUF 1
  30. #define HAVE_STRFTIME 1
  31. #define HAVE_INET_ADDR 1
  32. #define HAVE_MEMCPY 1
  33. #define HAVE_SELECT 1
  34. #define HAVE_SOCKET 1
  35. #define HAVE_STRUCT_TIMEVAL 1
  36. //#define HAVE_STRICMP 1
  37. #define HAVE_SIGACTION 1
  38. #define HAVE_SIGNAL_H 1
  39. #define HAVE_SIG_ATOMIC_T 1
  40. #ifdef MACOS_SSL_SUPPORT
  41. # define USE_SSLEAY 1
  42. # define USE_OPENSSL 1
  43. #endif
  44. #define CURL_DISABLE_LDAP 1
  45. #define HAVE_RAND_STATUS 1
  46. #define HAVE_RAND_EGD 1
  47. #define HAVE_IOCTL 1
  48. #define HAVE_IOCTL_FIONBIO 1
  49. #define RETSIGTYPE void
  50. #define HAVE_GETNAMEINFO 1
  51. #define GETNAMEINFO_QUAL_ARG1 const
  52. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  53. #define GETNAMEINFO_TYPE_ARG2 socklen_t
  54. #define GETNAMEINFO_TYPE_ARG46 size_t
  55. #define GETNAMEINFO_TYPE_ARG7 int
  56. #define HAVE_RECV 1
  57. #define RECV_TYPE_ARG1 int
  58. #define RECV_TYPE_ARG2 void *
  59. #define RECV_TYPE_ARG3 size_t
  60. #define RECV_TYPE_ARG4 int
  61. #define RECV_TYPE_RETV ssize_t
  62. #define HAVE_RECVFROM 1
  63. #define RECVFROM_TYPE_ARG1 int
  64. #define RECVFROM_TYPE_ARG2 void
  65. #define RECVFROM_TYPE_ARG3 size_t
  66. #define RECVFROM_TYPE_ARG4 int
  67. #define RECVFROM_TYPE_ARG5 struct sockaddr
  68. #define RECVFROM_TYPE_ARG6 int
  69. #define RECVFROM_TYPE_RETV ssize_t
  70. #define RECVFROM_TYPE_ARG2_IS_VOID 1
  71. #define HAVE_SEND 1
  72. #define SEND_TYPE_ARG1 int
  73. #define SEND_QUAL_ARG2 const
  74. #define SEND_TYPE_ARG2 void *
  75. #define SEND_TYPE_ARG3 size_T
  76. #define SEND_TYPE_ARG4 int
  77. #define SEND_TYPE_RETV ssize_t
  78. #define HAVE_EXTRA_STRICMP_H 1
  79. #define HAVE_EXTRA_STRDUP_H 1
  80. #endif /* __LIB_CONFIG_MAC_H */