summaryrefslogtreecommitdiff
path: root/string/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/endian.h')
-rw-r--r--string/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/endian.h b/string/endian.h
index 875fea3778..9368b5c377 100644
--- a/string/endian.h
+++ b/string/endian.h
@@ -41,7 +41,7 @@
# define __FLOAT_WORD_ORDER __BYTE_ORDER
#endif
-#ifdef __USE_BSD
+#ifdef __USE_MISC
# define LITTLE_ENDIAN __LITTLE_ENDIAN
# define BIG_ENDIAN __BIG_ENDIAN
# define PDP_ENDIAN __PDP_ENDIAN
@@ -55,7 +55,7 @@
#endif
-#if defined __USE_BSD && !defined __ASSEMBLER__
+#if defined __USE_MISC && !defined __ASSEMBLER__
/* Conversion interfaces. */
# include <bits/byteswap.h>