Changeset 354 for pjproject/trunk
- Timestamp:
- Mar 23, 2006 6:03:40 PM (19 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/build/os-linux.mak
r338 r354 8 8 # to all operating systems should go in Makefile instead. 9 9 # 10 export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ 10 export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \ 11 file_io_ansi.o guid_simple.o \ 11 12 log_writer_stdout.o os_core_unix.o \ 12 13 os_error_unix.o os_time_unix.o \ 13 14 os_timestamp_common.o os_timestamp_linux.o \ 14 os_time_ansi.o \15 15 pool_policy_malloc.o sock_bsd.o sock_select.o 16 16 … … 20 20 export PJLIB_OBJS += ioqueue_select.o 21 21 endif 22 23 export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o24 22 25 23 # -
pjproject/trunk/pjlib/build/os-sunos.mak
r338 r354 8 8 # to all operating systems should go in Makefile instead. 9 9 # 10 export PJLIB_OBJS += addr_resolv_sock.o guid_simple.o \ 10 export PJLIB_OBJS += addr_resolv_sock.o file_access_unistd.o \ 11 file_io_ansi.o guid_simple.o \ 11 12 log_writer_stdout.o os_core_unix.o \ 12 13 os_error_unix.o os_time_unix.o \ 13 14 os_timestamp_common.o os_timestamp_linux.o \ 14 os_time_ansi.o \15 15 pool_policy_malloc.o sock_bsd.o sock_select.o 16 16 -
pjproject/trunk/pjlib/include/pj/config.h
r338 r354 366 366 367 367 368 /** 369 * Include pj_stricmp_alnum() and pj_strnicmp_alnum(), i.e. custom 370 * functions to compare alnum strings. On some systems, they're faster 371 * then stricmp/strcasecmp, but they can be slower on other systems. 372 * When disabled, pjlib will fallback to stricmp/strnicmp. 373 * 374 * Default: 0 375 */ 376 #ifndef PJ_HAS_STRICMP_ALNUM 377 # define PJ_HAS_STRICMP_ALNUM 0 378 #endif 379 380 368 381 /** @} */ 369 382 -
pjproject/trunk/pjlib/include/pj/string.h
r315 r354 370 370 * - (-1) if not equal. 371 371 */ 372 #if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 372 373 PJ_IDECL(int) strnicmp_alnum(const char *str1, const char *str2, 373 374 int len); 375 #else 376 #define strnicmp_alnum strnicmp 377 #endif 374 378 375 379 /** … … 388 392 * - (-1) if not equal. 389 393 */ 394 #if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 390 395 PJ_IDECL(int) pj_stricmp_alnum(const pj_str_t *str1, const pj_str_t *str2); 396 #else 397 #define pj_stricmp_alnum pj_stricmp 398 #endif 391 399 392 400 /** -
pjproject/trunk/pjlib/include/pj/string_i.h
r263 r354 196 196 } 197 197 198 #if defined(PJ_HAS_STRICMP_ALNUM) && PJ_HAS_STRICMP_ALNUM!=0 198 199 PJ_IDEF(int) strnicmp_alnum( const char *str1, const char *str2, 199 200 int len) … … 264 265 } 265 266 } 267 #endif /* PJ_HAS_STRICMP_ALNUM */ 266 268 267 269 PJ_IDEF(int) pj_stricmp2( const pj_str_t *str1, const char *str2)
Note: See TracChangeset
for help on using the changeset viewer.