#define BMP_SIGNATURE_WORD 0x4d42
+#pragma pack(push)
#pragma pack(1)
-
-
typedef struct {
unsigned short bfType; // signature - 'BM'
unsigned long bfSize; // file size in bytes
void WriteBMP(char *filename, bitmap_t *bit);
void NewBMP(int width, int height, int bpp, bitmap_t *bit);
-
+#pragma pack(pop)
#endif