summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/cc_gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/cc_gcc.h')
-rw-r--r--pjlib/include/pj/compat/cc_gcc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/cc_gcc.h b/pjlib/include/pj/compat/cc_gcc.h
index 77d93f32..df257029 100644
--- a/pjlib/include/pj/compat/cc_gcc.h
+++ b/pjlib/include/pj/compat/cc_gcc.h
@@ -53,11 +53,13 @@
typedef uint64_t pj_uint64_t;
#define PJ_INLINE_SPECIFIER static __inline
#define PJ_ATTR_NORETURN
+ #define PJ_ATTR_MAY_ALIAS
#else
typedef long long pj_int64_t;
typedef unsigned long long pj_uint64_t;
#define PJ_INLINE_SPECIFIER static inline
#define PJ_ATTR_NORETURN __attribute__ ((noreturn))
+ #define PJ_ATTR_MAY_ALIAS __attribute__((__may_alias__))
#endif
#define PJ_INT64(val) val##LL