Changeset 75
- Timestamp:
- Nov 22, 2005 1:05:59 AM (19 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/build/Makefile
r65 r75 22 22 export PJLIB_SRCDIR = ../src/pj 23 23 export PJLIB_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 24 array.o config.o errno.o except.o fifobuf.o guid.o \24 array.o config.o ctype.o errno.o except.o fifobuf.o guid.o \ 25 25 hash.o list.o lock.o log.o \ 26 26 pool.o pool_caching.o rand.o \ -
pjproject/trunk/pjlib/build/pjlib.dsp
r71 r75 365 365 # Begin Source File 366 366 367 SOURCE=..\include\pj\compat\m_sparc.h 368 # End Source File 369 # Begin Source File 370 367 371 SOURCE=..\include\pj\compat\malloc.h 368 372 # End Source File -
pjproject/trunk/pjlib/include/pj/compat/cc_gcc.h
r65 r75 29 29 #endif 30 30 31 #define PJ_CC_NAME "gcc" 32 #define PJ_CC_VER_1 __GNUC__ 33 #define PJ_CC_VER_2 __GNUC_MINOR__ 34 #define PJ_CC_VER_3 __GNUC_PATCHLEVEL__ 35 36 31 37 #define PJ_INLINE_SPECIFIER static inline 32 38 #define PJ_THREAD_FUNC -
pjproject/trunk/pjlib/include/pj/compat/cc_msvc.h
r71 r75 29 29 #endif 30 30 31 #define PJ_CC_NAME "msvc" 32 #define PJ_CC_VER_1 (_MSC_VER/100) 33 #define PJ_CC_VER_2 (_MSC_VER%100) 34 #define PJ_CC_VER_3 0 35 31 36 #pragma warning(disable: 4127) // conditional expression is constant 32 37 #pragma warning(disable: 4611) // not wise to mix setjmp with C++ -
pjproject/trunk/pjlib/include/pj/compat/m_alpha.h
r65 r75 25 25 */ 26 26 27 #define PJ_M_NAME "alpha" 28 27 29 #define PJ_HAS_PENTIUM 0 28 30 #define PJ_IS_LITTLE_ENDIAN 1 -
pjproject/trunk/pjlib/include/pj/compat/m_i386.h
r65 r75 25 25 */ 26 26 27 #define PJ_M_ I386 127 #define PJ_M_NAME "i386" 28 28 29 29 #define PJ_HAS_PENTIUM 1 -
pjproject/trunk/pjlib/include/pj/compat/m_m68k.h
r65 r75 25 25 */ 26 26 27 #define PJ_M_NAME "m68k" 28 27 29 #define PJ_HAS_PENTIUM 0 28 30 #define PJ_IS_LITTLE_ENDIAN 1 -
pjproject/trunk/pjlib/include/pj/compat/m_sparc.h
r65 r75 25 25 */ 26 26 27 #define PJ_ SPARC 127 #define PJ_M_NAME "sparc" 28 28 29 29 #define PJ_HAS_PENTIUM 0 -
pjproject/trunk/pjlib/include/pj/compat/os_linux.h
r65 r75 24 24 * @brief Describes Linux operating system specifics. 25 25 */ 26 27 #define PJ_OS_NAME "linux" 26 28 27 29 #define PJ_HAS_ARPA_INET_H 1 -
pjproject/trunk/pjlib/include/pj/compat/os_linux_kernel.h
r65 r75 24 24 * @brief Describes Linux operating system specifics. 25 25 */ 26 27 #define PJ_OS_NAME "linux-module" 26 28 27 29 #define PJ_HAS_ARPA_INET_H 0 -
pjproject/trunk/pjlib/include/pj/compat/os_palmos.h
r65 r75 24 24 * @brief Describes PalmOS operating system specifics. 25 25 */ 26 27 #define PJ_OS_NAME "palmos" 26 28 27 29 #define PJ_HAS_ARPA_INET_H 0 -
pjproject/trunk/pjlib/include/pj/compat/os_sunos.h
r65 r75 24 24 * @brief Describes SunOS/Solaris operating system specifics. 25 25 */ 26 27 #define PJ_OS_NAME "sunos" 26 28 27 29 #define PJ_HAS_ARPA_INET_H 1 -
pjproject/trunk/pjlib/include/pj/compat/os_win32.h
r65 r75 24 24 * @brief Describes Win32 operating system family specifics. 25 25 */ 26 27 #define PJ_OS_NAME "win32" 26 28 27 29 #define WIN32_LEAN_AND_MEAN -
pjproject/trunk/pjlib/src/pj/config.c
r66 r75 28 28 PJ_LOG(3, (id, "PJLIB (c)2005 Benny Prijono")); 29 29 PJ_LOG(3, (id, "Dumping configurations:")); 30 PJ_LOG(3, (id, " PJ_VERSION : %s", PJ_VERSION)); 31 PJ_LOG(3, (id, " PJ_DEBUG : %d", PJ_DEBUG)); 32 PJ_LOG(3, (id, " PJ_FUNCTIONS_ARE_INLINED : %d", PJ_FUNCTIONS_ARE_INLINED)); 33 PJ_LOG(3, (id, " PJ_POOL_DEBUG : %d", PJ_POOL_DEBUG)); 34 PJ_LOG(3, (id, " PJ_HAS_THREADS : %d", PJ_HAS_THREADS)); 35 PJ_LOG(3, (id, " PJ_LOG_MAX_LEVEL : %d", PJ_LOG_MAX_LEVEL)); 36 PJ_LOG(3, (id, " PJ_LOG_MAX_SIZE : %d", PJ_LOG_MAX_SIZE)); 37 PJ_LOG(3, (id, " PJ_LOG_USE_STACK_BUFFER : %d", PJ_LOG_USE_STACK_BUFFER)); 38 PJ_LOG(3, (id, " PJ_HAS_TCP : %d", PJ_HAS_TCP)); 39 PJ_LOG(3, (id, " PJ_MAX_HOSTNAME : %d", PJ_MAX_HOSTNAME)); 40 PJ_LOG(3, (id, " PJ_HAS_SEMAPHORE : %d", PJ_HAS_SEMAPHORE)); 41 PJ_LOG(3, (id, " PJ_HAS_EVENT_OBJ : %d", PJ_HAS_EVENT_OBJ)); 42 PJ_LOG(3, (id, " PJ_HAS_HIGH_RES_TIMER : %d", PJ_HAS_HIGH_RES_TIMER)); 43 PJ_LOG(3, (id, " PJ_(endianness) : %s", 30 PJ_LOG(3, (id, " PJ_VERSION : %s", PJ_VERSION)); 31 PJ_LOG(3, (id, " PJ_M_NAME : %s", PJ_M_NAME)); 32 PJ_LOG(3, (id, " PJ_HAS_PENTIUM : %d", PJ_HAS_PENTIUM)); 33 PJ_LOG(3, (id, " PJ_OS_NAME : %s", PJ_OS_NAME)); 34 PJ_LOG(3, (id, " PJ_CC_NAME/VER_(1,2,3) : %s-%d.%d.%d", PJ_CC_NAME, 35 PJ_CC_VER_1, PJ_CC_VER_2, PJ_CC_VER_3)); 36 PJ_LOG(3, (id, " PJ_IS_(BIG/LITTLE)_ENDIAN : %s", 44 37 (PJ_IS_BIG_ENDIAN?"big-endian":"little-endian"))); 45 PJ_LOG(3, (id, " ioqueue type : %s", pj_ioqueue_name())); 46 PJ_LOG(3, (id, " PJ_IOQUEUE_MAX_HANDLES : %d", PJ_IOQUEUE_MAX_HANDLES)); 38 PJ_LOG(3, (id, " PJ_HAS_INT64 : %d", PJ_HAS_INT64)); 39 PJ_LOG(3, (id, " PJ_HAS_FLOATING_POINT : %d", PJ_HAS_FLOATING_POINT)); 40 PJ_LOG(3, (id, " PJ_DEBUG : %d", PJ_DEBUG)); 41 PJ_LOG(3, (id, " PJ_FUNCTIONS_ARE_INLINED : %d", PJ_FUNCTIONS_ARE_INLINED)); 42 PJ_LOG(3, (id, " PJ_LOG_MAX_LEVEL : %d", PJ_LOG_MAX_LEVEL)); 43 PJ_LOG(3, (id, " PJ_LOG_MAX_SIZE : %d", PJ_LOG_MAX_SIZE)); 44 PJ_LOG(3, (id, " PJ_LOG_USE_STACK_BUFFER : %d", PJ_LOG_USE_STACK_BUFFER)); 45 PJ_LOG(3, (id, " PJ_POOL_DEBUG : %d", PJ_POOL_DEBUG)); 46 PJ_LOG(3, (id, " PJ_HAS_TCP : %d", PJ_HAS_TCP)); 47 PJ_LOG(3, (id, " PJ_MAX_HOSTNAME : %d", PJ_MAX_HOSTNAME)); 48 PJ_LOG(3, (id, " ioqueue type : %s", pj_ioqueue_name())); 49 PJ_LOG(3, (id, " PJ_IOQUEUE_MAX_HANDLES : %d", PJ_IOQUEUE_MAX_HANDLES)); 50 PJ_LOG(3, (id, " PJ_HAS_THREADS : %d", PJ_HAS_THREADS)); 51 PJ_LOG(3, (id, " PJ_LOG_USE_STACK_BUFFER : %d", PJ_LOG_USE_STACK_BUFFER)); 52 PJ_LOG(3, (id, " PJ_HAS_SEMAPHORE : %d", PJ_HAS_SEMAPHORE)); 53 PJ_LOG(3, (id, " PJ_HAS_EVENT_OBJ : %d", PJ_HAS_EVENT_OBJ)); 54 PJ_LOG(3, (id, " PJ_ENABLE_EXTRA_CHECK : %d", PJ_ENABLE_EXTRA_CHECK)); 55 PJ_LOG(3, (id, " PJ_HAS_EXCEPTION_NAMES : %d", PJ_HAS_EXCEPTION_NAMES)); 56 PJ_LOG(3, (id, " PJ_MAX_EXCEPTION_ID : %d", PJ_MAX_EXCEPTION_ID)); 57 PJ_LOG(3, (id, " PJ_EXCEPTION_USE_WIN32_SEH: %d", PJ_EXCEPTION_USE_WIN32_SEH)); 58 PJ_LOG(3, (id, " PJ_TIMESTAMP_USE_RDTSC: : %d", PJ_TIMESTAMP_USE_RDTSC)); 59 PJ_LOG(3, (id, " PJ_OS_HAS_CHECK_STACK : %d", PJ_OS_HAS_CHECK_STACK)); 60 PJ_LOG(3, (id, " PJ_HAS_HIGH_RES_TIMER : %d", PJ_HAS_HIGH_RES_TIMER)); 47 61 } 48 62 -
pjproject/trunk/pjlib/src/pj/os_timestamp_win32.c
r70 r75 23 23 #if defined(PJ_TIMESTAMP_USE_RDTSC) && PJ_TIMESTAMP_USE_RDTSC!=0 && \ 24 24 defined(PJ_M_I386) && PJ_M_I386 != 0 && \ 25 defined(PJ_HAS_PENTIUM) && PJ_HAS_PENTIUM!=0 && \ 25 26 defined(_MSC_VER) 26 27 /*
Note: See TracChangeset
for help on using the changeset viewer.