From 1049a18ff4f04fd343142240a9064b19c7a0919d Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 12 May 2010 22:16:28 -0500 Subject: [PATCH] Fixed 'head' define to C++ style constant to fix breakage with zlib --- Source/Constants.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Constants.h b/Source/Constants.h index 98c74b3..580febc 100644 --- a/Source/Constants.h +++ b/Source/Constants.h @@ -92,7 +92,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define constraint 1 #define muscle 2 -#define head 0 +const int head = 0; // Do not conflict with 'head' var in zlib + #define neck 1 #define leftshoulder 2 #define leftelbow 3 -- 2.39.5