]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - md_p.h
mdctl-0.5
[thirdparty/mdadm.git] / md_p.h
diff --git a/md_p.h b/md_p.h
index d6bb37a810b3f41f4e1d48acc6dae837e1be76ed..99479b43b19832c33c154ddc36408e0dbc98ce3a 100644 (file)
--- a/md_p.h
+++ b/md_p.h
@@ -128,7 +128,7 @@ typedef struct mdp_superblock_s {
        __u32 failed_disks;     /*  4 Number of failed disks                  */
        __u32 spare_disks;      /*  5 Number of spare disks                   */
        __u32 sb_csum;          /*  6 checksum of the whole superblock        */
-#ifdef __BIG_ENDIAN
+#if  __BYTE_ORDER ==  __BIG_ENDIAN
        __u32 events_hi;        /*  7 high-order of superblock update count   */
        __u32 events_lo;        /*  8 low-order of superblock update count    */
 #else