Changeset 1718 for pjproject/branches/users/nanang/third_party/build/srtp
- Timestamp:
- Jan 19, 2008 3:51:56 PM (16 years ago)
- Location:
- pjproject/branches/users/nanang/third_party/build/srtp
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/third_party/build/srtp
- Property svn:ignore
-
old new 1 1 *.user 2 2 *.plg 3 .*depend
-
- Property svn:ignore
-
pjproject/branches/users/nanang/third_party/build/srtp/srtp_config.h
r1717 r1718 1 /* config.h for Win32/MSVC */ 1 #include <pj/types.h> 2 2 3 3 /* Define if building for a CISC machine (e.g. Intel). */ 4 #define CPU_CISC 1 4 /* #define CPU_CISC 1 */ 5 5 6 6 /* Define if building for a RISC machine (assume slow byte access). */ 7 7 /* #undef CPU_RISC */ 8 8 9 /* PJLIB can't detect CISC vs RISC CPU, so we'll just say RISC here */ 10 #if defined(PJ_WIN32) && PJ_WIN32!=0 11 # define CPU_CISC 1 12 #else 13 # define CPU_RISC 1 14 #endif 15 9 16 /* Path to random device */ 10 17 /* #define DEV_URANDOM "/dev/urandom" */ … … 17 24 18 25 /* Define to use logging to stdout. */ 19 #define ERR_REPORTING_STDOUT 126 //#define ERR_REPORTING_STDOUT 1 20 27 21 28 /* Define this to use ISMAcryp code. */ … … 23 30 24 31 /* Define to 1 if you have the <arpa/inet.h> header file. */ 25 /* #undef HAVE_ARPA_INET_H */ 32 #ifdef PJ_HAS_ARPA_INET_H 33 # define HAVE_ARPA_INET_H 1 34 #endif 26 35 27 36 /* Define to 1 if you have the <byteswap.h> header file. */ … … 29 38 30 39 /* Define to 1 if you have the `inet_aton' function. */ 31 /* #undef HAVE_INET_ATON */ 40 #ifdef PJ_SOCK_HAS_INET_PTON 41 # define HAVE_INET_ATON 1 42 #endif 32 43 33 44 /* Define to 1 if the system has the type `int16_t'. */ … … 50 61 51 62 /* Define to 1 if you have the <memory.h> header file. */ 52 #define HAVE_MEMORY_H 163 //#define HAVE_MEMORY_H 1 53 64 54 65 /* Define to 1 if you have the <netinet/in.h> header file. */ 55 /* #undef HAVE_NETINET_IN_H */ 66 #ifdef PJ_HAS_NETINET_IN_H 67 # define HAVE_NETINET_IN_H 1 68 #endif 56 69 57 70 /* Define to 1 if you have the `socket' function. */ … … 62 75 63 76 /* Define to 1 if you have the <stdlib.h> header file. */ 64 #define HAVE_STDLIB_H 1 77 #ifdef PJ_HAS_STDLIB_H 78 # define HAVE_STDLIB_H 1 79 #endif 65 80 66 81 /* Define to 1 if you have the <strings.h> header file. */ 67 #define HAVE_STRINGS_H 182 //#define HAVE_STRINGS_H 1 68 83 69 84 /* Define to 1 if you have the <string.h> header file. */ 70 #define HAVE_STRING_H 1 85 #ifdef PJ_HAS_STRING_H 86 # define HAVE_STRING_H 1 87 #endif 71 88 72 89 /* Define to 1 if you have the <syslog.h> header file. */ … … 77 94 78 95 /* Define to 1 if you have the <sys/socket.h> header file. */ 79 /* #undef HAVE_SYS_SOCKET_H */ 96 #ifdef PJ_HAS_SYS_SOCKET_H 97 # define HAVE_SYS_SOCKET_H 1 98 #endif 80 99 81 100 /* Define to 1 if you have the <sys/stat.h> header file. */ 82 #define HAVE_SYS_STAT_H 1101 //#define HAVE_SYS_STAT_H 1 83 102 84 103 /* Define to 1 if you have the <sys/types.h> header file. */ 85 #define HAVE_SYS_TYPES_H 1 104 #ifdef PJ_HAS_SYS_TYPES_H 105 # define HAVE_SYS_TYPES_H 1 106 #endif 86 107 87 108 /* Define to 1 if you have the <sys/uio.h> header file. */ 88 109 /* #undef HAVE_SYS_UIO_H */ 89 110 111 /* Define to 1 if the system has the type `uint8_t'. */ 112 #define HAVE_UINT8_T 1 113 90 114 /* Define to 1 if the system has the type `uint16_t'. */ 91 115 #define HAVE_UINT16_T 1 … … 97 121 #define HAVE_UINT64_T 1 98 122 99 /* Define to 1 if the system has the type `uint8_t'. */100 #define HAVE_UINT8_T 1101 102 123 /* Define to 1 if you have the <unistd.h> header file. */ 103 /* #undef HAVE_UNISTD_H */104 105 124 /* Define to 1 if you have the `usleep' function. */ 106 /* #undef HAVE_USLEEP */ 125 #ifdef PJ_HAS_UNISTD_H 126 # define HAVE_UNISTD_H 1 127 # define HAVE_USLEEP 1 128 #endif 129 107 130 108 131 /* Define to 1 if you have the <windows.h> header file. */ 109 #define HAVE_WINDOWS_H 1 132 #if defined(PJ_WIN32) && PJ_WIN32!=0 133 # define HAVE_WINDOWS_H 1 134 #endif 110 135 111 136 /* Define to 1 if you have the <winsock2.h> header file. */ 112 #define HAVE_WINSOCK2_H 1 137 #ifdef PJ_HAS_WINSOCK2_H 138 # define HAVE_WINSOCK2_H 1 139 #endif 113 140 114 141 /* Define to use X86 inlined assembly code */ … … 131 158 132 159 /* The size of a `unsigned long', as computed by sizeof. */ 133 #define SIZEOF_UNSIGNED_LONG 4160 #define SIZEOF_UNSIGNED_LONG (sizeof(unsigned long)) 134 161 135 162 /* The size of a `unsigned long long', as computed by sizeof. */ … … 146 173 147 174 /* Define to 1 if you have the ANSI C header files. */ 148 #define STDC_HEADERS 1175 //#define STDC_HEADERS 1 149 176 150 177 /* Write errors to this file */ … … 161 188 /* #undef const */ 162 189 163 /* Define 'inline' to nothing, since the MSVC compiler doesn't support it. */ 164 #define inline 190 /* MSVC does't have "inline" */ 191 #if defined(_MSC_VER) 192 # define inline _inline 193 #endif 165 194 166 195 /* Define to `unsigned' if <sys/types.h> does not define. */ … … 176 205 #endif // VC8+ 177 206 178 #ifndef uint32_t 179 typedef unsigned char uint8_t; 180 typedef unsigned short uint16_t; 181 typedef unsigned int uint32_t; 182 typedef unsigned __int64 uint64_t; 183 typedef signed char int8_t; 184 typedef short int16_t; 185 typedef int int32_t; 186 typedef __int64 int64_t; 207 #ifndef int_types_defined 208 typedef pj_uint8_t uint8_t; 209 typedef pj_uint16_t uint16_t; 210 typedef pj_uint32_t uint32_t; 211 typedef pj_uint64_t uint64_t; 212 typedef pj_int8_t int8_t; 213 typedef pj_int16_t int16_t; 214 typedef pj_int32_t int32_t; 215 typedef pj_int64_t int64_t; 216 # define int_types_defined 187 217 #endif 188 218 … … 193 223 #pragma warning(disable:4244) // conversion from int64 to int 194 224 #endif 225
Note: See TracChangeset
for help on using the changeset viewer.