Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17192

Modified Files:
      Tag: May2009
        snb_header.h 
Log Message:
Removed defines of MAXINT and MININT since they clash with system
header files, and moreover, they are not used anywhere.
Also, add parentheses around macro replacement.


U snb_header.h
Index: snb_header.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/snb_header.h,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -d -r1.4 -r1.4.4.1
--- snb_header.h        19 Feb 2009 11:54:36 -0000      1.4
+++ snb_header.h        4 Jun 2009 09:11:07 -0000       1.4.4.1
@@ -3,10 +3,7 @@
 
 #include "snb_api.h"
 
-#define MAXINT INT_MAX
-#define MININT INT_MIN
-
-#define HEAD 2*sizeof(int)
+#define HEAD (2*sizeof(int))
 
 #define SIZE(p)        ((int *)(p))[-1]
 #define SET_SIZE(p, n) ((int *)(p))[-1] = n


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to