Posted to tcl by auriocus at Sun Dec 07 20:57:57 GMT 2014view raw

  1. #else /* ! __GNUC__ */
  2.  
  3. #if defined(__i386__) || defined(__x86_64__)
  4.  
  5. #if !defined(__DARWIN_OS_INLINE)
  6. # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  7. # define __DARWIN_OS_INLINE static inline
  8. # elif defined(__MWERKS__) || defined(__cplusplus)
  9. # define __DARWIN_OS_INLINE static inline
  10. # else
  11. # define __DARWIN_OS_INLINE static __inline__
  12. # endif
  13. #endif
  14.  
  15. __DARWIN_OS_INLINE
  16. uint16_t
  17. _OSSwapInt16(
  18. uint16_t data
  19. )
  20. {
  21. return __DARWIN_OSSwapConstInt16(data);
  22. }
  23.  
  24.