You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by ma...@apache.org on 2010/03/05 20:54:35 UTC
svn commit: r919572 - in /hadoop/avro/trunk: CHANGES.txt
lang/c/src/avro_private.h
Author: massie
Date: Fri Mar 5 19:54:35 2010
New Revision: 919572
URL: http://svn.apache.org/viewvc?rev=919572&view=rev
Log:
AVRO-440. config.h output not correctly used. Contributed by Bruce Mitchener.
Modified:
hadoop/avro/trunk/CHANGES.txt
hadoop/avro/trunk/lang/c/src/avro_private.h
Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=919572&r1=919571&r2=919572&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Fri Mar 5 19:54:35 2010
@@ -34,6 +34,8 @@
AVRO-453. More warning cleanup (Bruce Mitchener via massie)
+ AVRO-440. config.h output not correctly used (Bruce Mitchener via massie)
+
BUG FIXES
AVRO-424. Fix the specification of the deflate codec.
Modified: hadoop/avro/trunk/lang/c/src/avro_private.h
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/src/avro_private.h?rev=919572&r1=919571&r2=919572&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/src/avro_private.h (original)
+++ hadoop/avro/trunk/lang/c/src/avro_private.h Fri Mar 5 19:54:35 2010
@@ -19,6 +19,11 @@
#include "avro.h"
+#ifdef HAVE_CONFIG_H
+/* This is only true for now in the autotools build */
+#include "config.h"
+#endif
+
#define check(rval, call) { rval = call; if(rval) return rval; }
#define AVRO_UNUSED(var) (void)var;