summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/usb/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 4649ee2a9..afccf706d 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -270,7 +270,7 @@ void usb_rescan(void);
#ifdef __LITTLE_ENDIAN
# define swap_16(x) (x)
# define swap_32(x) (x)
-#elif defined BIG_ENDIAN
+#elif defined __BIG_ENDIAN
# define swap_16(x) __swap_16(x)
# define swap_32(x) __swap_32(x)
#else