couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r711878 - /incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c
Date Thu, 06 Nov 2008 15:24:21 GMT
Author: jan
Date: Thu Nov  6 07:24:12 2008
New Revision: 711878

URL: http://svn.apache.org/viewvc?rev=711878&view=rev
Log:
Fix warning on Linux.

Modified:
    incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c

Modified: incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c?rev=711878&r1=711877&r2=711878&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c (original)
+++ incubator/couchdb/trunk/src/couchdb/couch_erl_driver.c Thu Nov  6 07:24:12 2008
@@ -17,6 +17,11 @@
 // means of calling into C code, however unlike the Fabric engine, coding
 // errors in this module can crash the entire Erlang server.
 
+#ifdef DARWIN
+#define U_HIDE_DRAFT_API 1
+#define U_DISABLE_RENAMING 1
+#endif
+
 #include "erl_driver.h"
 #include "unicode/ucol.h"
 #include "unicode/ucasemap.h"
@@ -87,7 +92,7 @@
     return localLen;
 }
 
-static int couch_drv_control(ErlDrvData drv_data, unsigned int command, const char *pBuf,
+static int couch_drv_control(ErlDrvData drv_data, unsigned int command, char *pBuf,
              int bufLen, char **rbuf, int rlen)
 {
 



Mime
View raw message