SupportDefs: make it C89-safe again

Operating Systems / Haiku - Adrien Destugues [gmail.com] - 19 January 2015 06:54 UTC

The atomic inlines were not implemented in a C89 safe way:
- Use of "static inline" not allowed, but static __inline__ is
- __inline__ is a GCC extension, but these are already in a __GNUC__ block (other compilers use a non-inline version)
- also fix a C++ style comment

c299b09 SupportDefs: make it C89-safe again
headers/os/support/SupportDefs.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

Upstream: cgit.haiku-os.org


  • Share