Differences From Artifact [00f7754073]:
- File src/macros.h — part of check-in [6fe8882d64] at 2011-02-05 11:57:15 on branch trunk — Fix a typo. (user: js, size: 5644) [annotate] [blame] [check-ins using]
To Artifact [957228cdfe]:
- File
src/macros.h
— part of check-in
[d230ac577d]
at
2011-02-09 18:55:29
on branch trunk
— Initial PSP port.
Does compile with --disable-threads --disable-shared, but does not link
yet. (user: js, size: 5698) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #endif #ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS #endif #include <stddef.h> #include <stdint.h> #ifdef __GNUC__ # define OF_INLINE inline __attribute__((always_inline)) # define OF_LIKELY(cond) __builtin_expect(!!(cond), 1) # define OF_UNLIKELY(cond) __builtin_expect(!!(cond), 0) # define OF_CONST_FUNC __attribute__((const)) #else | > > > > | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #endif #ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS #endif #include <stddef.h> #include <stdint.h> #ifdef _PSP # define INTMAX_MAX LONG_LONG_MAX #endif #ifdef __GNUC__ # define OF_INLINE inline __attribute__((always_inline)) # define OF_LIKELY(cond) __builtin_expect(!!(cond), 1) # define OF_UNLIKELY(cond) __builtin_expect(!!(cond), 0) # define OF_CONST_FUNC __attribute__((const)) #else |
︙ | ︙ |