Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6673/modules/pftijah
Modified Files:
Tag: M5XQ
nexi.y
Log Message:
propagated changes of Monday Aug 03 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/08/03 - sjoerd: modules/pftijah/nexi.y,1.14
If we don't tell bison 2.4.1 which malloc/free to use, it will declare
them, and on Windows, it does it incorrectly.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: nexi.y
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/nexi.y,v
retrieving revision 1.13
retrieving revision 1.13.6.1
diff -u -d -r1.13 -r1.13.6.1
--- nexi.y 5 Aug 2008 15:01:58 -0000 1.13
+++ nexi.y 3 Aug 2009 13:19:11 -0000 1.13.6.1
@@ -38,6 +38,10 @@
#include <malloc.h>
#endif
+/* tell bison which malloc/free to use (needed for bison 2.4.1 on Windows) */
+#define YYMALLOC malloc
+#define YYFREE free
+
#define CO 1
#define CAS 2
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins