UBUNTU: ubuntu: ndiswrapper -- fix interaction between __packed and packed
authorAndy Whitcroft <apw@canonical.com>
Mon, 17 Jan 2011 14:14:18 +0000 (14:14 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:52:57 +0000 (06:52 -0700)
ubuntu/ndiswrapper/pe_linker.h
ubuntu/ndiswrapper/winnt_types.h

index d582cdb..e62bc3f 100644 (file)
@@ -691,7 +691,7 @@ typedef PIMAGE_THUNK_DATA64 PIMAGE_THUNK_DATA;
 
 /* Import module directory */
 
-typedef struct packed _IMAGE_IMPORT_DESCRIPTOR {
+typedef struct __packed _IMAGE_IMPORT_DESCRIPTOR {
        union {
                DWORD   Characteristics; /* 0 for terminating null
                                          * import descriptor */
index 62a8e53..3ba5baf 100644 (file)
 
 #endif
 
-#define packed __attribute__((packed))
+// #define packed __attribute__((packed))
 #define no_warn_unused __attribute__((unused))
 
 typedef u8     BOOLEAN;