summaryrefslogtreecommitdiff
path: root/include/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/byteswap.h')
-rw-r--r--include/byteswap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/byteswap.h b/include/byteswap.h
index bf222d3c..00b9df3c 100644
--- a/include/byteswap.h
+++ b/include/byteswap.h
@@ -1,12 +1,9 @@
#ifndef _BYTESWAP_H
#define _BYTESWAP_H
+#include <features.h>
#include <stdint.h>
-#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
-#define __inline inline
-#endif
-
static __inline uint16_t __bswap_16(uint16_t __x)
{
return __x<<8 | __x>>8;