[HEADERS]
[reactos.git] / reactos / include / ddk / ide.h
index b3e0e06..5744a3f 100644 (file)
 #ifndef __IDE_H
 #define __IDE_H
 
-#if __GNUC__ >=3
-#pragma GCC system_header
+/* Helper macro to enable gcc's extension.  */
+#ifndef __GNU_EXTENSION
+#ifdef __GNUC__
+#define __GNU_EXTENSION __extension__
+#else
+#define __GNU_EXTENSION
+#endif
 #endif
 
 #ifdef __cplusplus
@@ -108,7 +113,7 @@ typedef struct _EXTENDED_IDENTIFY_DATA {
   USHORT UnformattedBytesPerTrack;   /* 08 */
   USHORT UnformattedBytesPerSector;  /* 10 */
   USHORT NumSectorsPerTrack;         /* 12 */
-  union
+  __GNU_EXTENSION union
   {
     USHORT VendorUnique1[3];         /* 14 */
     struct