[66034] trunk/base/src/cregistry/sqlext.c

jmr at macports.org jmr at macports.org
Mon Apr 5 00:04:26 PDT 2010


Revision: 66034
          http://trac.macports.org/changeset/66034
Author:   jmr at macports.org
Date:     2010-04-05 00:04:21 -0700 (Mon, 05 Apr 2010)
Log Message:
-----------
missed a use of a type provided by sqlite3ext.h

Modified Paths:
--------------
    trunk/base/src/cregistry/sqlext.c

Modified: trunk/base/src/cregistry/sqlext.c
===================================================================
--- trunk/base/src/cregistry/sqlext.c	2010-04-05 06:58:02 UTC (rev 66033)
+++ trunk/base/src/cregistry/sqlext.c	2010-04-05 07:04:21 UTC (rev 66034)
@@ -23,7 +23,11 @@
 int sqlite3_extension_init(
     sqlite3 *db,          /* The database connection */
     char **pzErrMsg UNUSED,      /* Write error messages here */
+#if HAVE_SQLITE3EXT_H
     const sqlite3_api_routines *pApi  /* API methods */
+#else
+    const void *pApi
+#endif
 ) {
 #if HAVE_SQLITE3EXT_H
     SQLITE_EXTENSION_INIT2(pApi)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100405/09f1b8c3/attachment.html>


More information about the macports-changes mailing list