httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1060588 - /httpd/httpd/trunk/server/util_expr_private.h
Date Tue, 18 Jan 2011 21:42:23 GMT
Author: sf
Date: Tue Jan 18 21:42:23 2011
New Revision: 1060588

URL: http://svn.apache.org/viewvc?rev=1060588&view=rev
Log:
Fix some warnings with Visual Studio reported by Gregg L. Smith

Modified:
    httpd/httpd/trunk/server/util_expr_private.h

Modified: httpd/httpd/trunk/server/util_expr_private.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_expr_private.h?rev=1060588&r1=1060587&r2=1060588&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_expr_private.h (original)
+++ httpd/httpd/trunk/server/util_expr_private.h Tue Jan 18 21:42:23 2011
@@ -34,6 +34,12 @@
 #define YY_NO_UNISTD_H
 #endif
 
+#ifdef _MSC_VER
+/* Avoid some warnings with Visual Studio (likely due to a bug in bison) */
+#define YYMALLOC malloc
+#define YYFREE   free
+#endif
+
 #ifndef YYDEBUG
 #define YYDEBUG 0
 #endif



Mime
View raw message