comparison loader/wine/vfw.h @ 3131:1356a5a69073

packed attribute added
author arpi
date Mon, 26 Nov 2001 01:14:17 +0000
parents 2712e787f872
children 633a8d6e40dc
comparison
equal deleted inserted replaced
3130:623cdb771e97 3131:1356a5a69073
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 #ifndef __WINE_WINGDI_H 7 #ifndef __WINE_WINGDI_H
8 8
9 typedef struct 9 typedef struct __attribute__((__packed__))
10 { 10 {
11 short bfType; 11 short bfType;
12 long bfSize; 12 long bfSize;
13 short bfReserved1; 13 short bfReserved1;
14 short bfReserved2; 14 short bfReserved2;
15 long bfOffBits; 15 long bfOffBits;
16 } BITMAPFILEHEADER; 16 } BITMAPFILEHEADER;
17 17
18 #ifndef _BITMAPINFOHEADER_ 18 #ifndef _BITMAPINFOHEADER_
19 #define _BITMAPINFOHEADER_ 19 #define _BITMAPINFOHEADER_
20 typedef struct 20 typedef struct __attribute__((__packed__))
21 { 21 {
22 long biSize; 22 long biSize;
23 long biWidth; 23 long biWidth;
24 long biHeight; 24 long biHeight;
25 short biPlanes; 25 short biPlanes;