From: Neal Gompa Date: Thu, 13 May 2010 03:16:28 +0000 (-0500) Subject: Fixed 'head' define to C++ style constant to fix breakage with zlib X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=1049a18ff4f04fd343142240a9064b19c7a0919d;p=lugaru.git Fixed 'head' define to C++ style constant to fix breakage with zlib --- 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