Changeset 622 for pjproject/trunk/pjlib/include/pj/compat
- Timestamp:
- Jul 22, 2006 1:42:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/compat/cc_gcc.h
r582 r622 35 35 36 36 37 #define PJ_INLINE_SPECIFIER static inline38 37 #define PJ_THREAD_FUNC 39 38 #define PJ_NORETURN 40 #define PJ_ATTR_NORETURN __attribute__ ((noreturn))41 39 42 40 #define PJ_HAS_INT64 1 43 41 44 typedef long long pj_int64_t; 45 typedef unsigned long long pj_uint64_t; 42 #ifdef __STRICT_ANSI__ 43 #include <inttypes.h> 44 typedef int64_t pj_int64_t; 45 typedef uint64_t pj_uint64_t; 46 #define PJ_INLINE_SPECIFIER static __inline 47 #define PJ_ATTR_NORETURN 48 #else 49 typedef long long pj_int64_t; 50 typedef unsigned long long pj_uint64_t; 51 #define PJ_INLINE_SPECIFIER static inline 52 #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) 53 #endif 46 54 47 55 #define PJ_INT64(val) val##LL
Note: See TracChangeset
for help on using the changeset viewer.