kmodloader: use the name of the module struct when unloading modules
[project/ubox.git] / libblkid-tiny / bitops.h
index 81375d0..5bf2057 100644 (file)
@@ -46,7 +46,7 @@
                (uint64_t)(((uint64_t)(x) & (uint64_t)0xff00000000000000ULL) >> 56) ))
 
 
-#ifdef WORDS_BIGENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
 
 #define cpu_to_le16(x) swab16(x)
 #define cpu_to_le32(x) swab32(x)