From 2e39f676e371e2547b5d82396998b8e10c10e54c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 28 Aug 2017 09:38:12 -0700 Subject: [PATCH] Fixed bug 3781 - unbalanced #pragma pack(pop) in close_code.h Ozkan Sezer Revision 288 (http://hg.libsdl.org/SDL/rev/2f5a6062db86) excluded the Watcom compiler from forcing 4 byte structure packing in begin_code.h. However, it missed updating close_code.h, which now has an unbalanced #pragma pack(pop) if the compiler is Watcom. The issue seems to have crawled into SDL2, too. --- include/close_code.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/close_code.h b/include/close_code.h index 19a002466..3f2421ca3 100644 --- a/include/close_code.h +++ b/include/close_code.h @@ -32,7 +32,7 @@ * @file close_code.h * Reset structure packing at previous byte alignment */ -#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__) +#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) #ifdef __BORLANDC__ #pragma nopackwarning #endif