]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/image/bmp.h
fix windows compile, it's possible the linux build broke and will need misc tweaks...
[xonotic/netradiant.git] / plugins / image / bmp.h
index 63667ea5e84b49fbe19ffacb61c84a915790b72c..ea93165cdb58e61b336a40bfcdcfb8809037a6db 100644 (file)
@@ -29,10 +29,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 #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
@@ -96,6 +95,6 @@ void FreeBMP(bitmap_t *bitmap);
 void WriteBMP(char *filename, bitmap_t *bit);
 void NewBMP(int width, int height, int bpp, bitmap_t *bit);
 
-
+#pragma pack(pop)
 
 #endif