Changeset 2 for pjproject/main/pjlib/include/pj
- Timestamp:
- Nov 1, 2005 4:42:51 PM (19 years ago)
- Location:
- pjproject/main/pjlib/include/pj
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/include/pj
-
Property
svn:ignore
set to
config_site.h
-
Property
svn:ignore
set to
-
pjproject/main/pjlib/include/pj/compat/errno.h
r1 r2 10 10 11 11 #elif (defined(PJ_LINUX) && PJ_LINUX != 0) || \ 12 (defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0) 12 (defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0) || \ 13 (defined(PJ_SUNOS) && PJ_SUNOS != 0) 13 14 14 15 typedef int pj_os_err_type; -
pjproject/main/pjlib/include/pj/compat/high_precision.h
r1 r2 36 36 37 37 #else 38 # warning "High precision math is not available" 39 38 40 /* 39 41 * Last, fallback to 32-bit arithmetics. -
pjproject/main/pjlib/include/pj/config.h
r1 r2 22 22 23 23 /******************************************************************** 24 * Include target specific configuration.25 */ 26 #if defined(PJ_WIN32) 24 * Include target OS specific configuration. 25 */ 26 #if defined(PJ_WIN32) && PJ_WIN32!=0 27 27 # include <pj/compat/os_win32.h> 28 #elif defined(PJ_LINUX) 28 #elif defined(PJ_LINUX) && PJ_LINUX!=0 29 29 # include <pj/compat/os_linux.h> 30 #elif defined(PJ_LINUX_KERNEL) 30 #elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL!=0 31 31 # include <pj/compat/os_linux_kernel.h> 32 #elif defined(PJ_PALMOS) 32 #elif defined(PJ_PALMOS) && PJ_PALMOS!=0 33 33 # include <pj/compat/os_palmos.h> 34 #elif defined(PJ_SUNOS) && PJ_SUNOS!=0 35 # include <pj/compat/os_sunos.h> 34 36 #else 35 37 # error "Please specify target os." … … 41 43 */ 42 44 #if defined (PJ_M_I386) && PJ_M_I386 != 0 43 # include <pj/compat/m_i386.h>45 # include <pj/compat/m_i386.h> 44 46 #elif defined (PJ_M_M68K) && PJ_M_M68K != 0 45 47 # include <pj/compat/m_m68k.h> 46 48 #elif defined (PJ_M_ALPHA) && PJ_M_ALPHA != 0 47 49 # include <pj/compat/m_alpha.h> 50 #elif defined (PJ_M_SPARC) && PJ_M_SPARC != 0 51 # include <pj/compat/m_sparc.h> 48 52 #else 49 53 # error "Please specify target machine." -
pjproject/main/pjlib/include/pj/os.h
r1 r2 58 58 */ 59 59 #if !defined(PJ_THREAD_DESC_SIZE) 60 # define PJ_THREAD_DESC_SIZE ( PJ_MAX_OBJ_NAME + 10*sizeof(long))60 # define PJ_THREAD_DESC_SIZE (16) 61 61 #endif 62 62 … … 65 65 * or native API. 66 66 */ 67 typedef pj_uint8_tpj_thread_desc[PJ_THREAD_DESC_SIZE];67 typedef long pj_thread_desc[PJ_THREAD_DESC_SIZE]; 68 68 69 69 /** … … 245 245 * @param value The value. 246 246 */ 247 PJ_DECL( void) pj_thread_local_set(long index, void *value);247 PJ_DECL(pj_status_t) pj_thread_local_set(long index, void *value); 248 248 249 249 /** … … 784 784 struct 785 785 { 786 #if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 786 787 pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ 787 788 pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ 789 #else 790 pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ 791 pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ 792 #endif 788 793 } u32; /**< The 64-bit value as two 32-bit values. */ 789 794
Note: See TracChangeset
for help on using the changeset viewer.