Index: third_party/sqlite/src/src/mutex.h |
diff --git a/third_party/sqlite/src/src/mutex.h b/third_party/sqlite/src/src/mutex.h |
index 9457cb403c00e9f4967c88abfc0901cda60d107f..c24f3da4c622c1904cc74e25babb3e524283a844 100644 |
--- a/third_party/sqlite/src/src/mutex.h |
+++ b/third_party/sqlite/src/src/mutex.h |
@@ -18,8 +18,6 @@ |
** NOTE: source files should *not* #include this header file directly. |
** Source files should #include the sqliteInt.h file and let that file |
** include this one indirectly. |
-** |
-** $Id: mutex.h,v 1.9 2008/10/07 15:25:48 drh Exp $ |
*/ |
@@ -65,9 +63,9 @@ |
#define sqlite3_mutex_enter(X) |
#define sqlite3_mutex_try(X) SQLITE_OK |
#define sqlite3_mutex_leave(X) |
-#define sqlite3_mutex_held(X) 1 |
-#define sqlite3_mutex_notheld(X) 1 |
+#define sqlite3_mutex_held(X) ((void)(X),1) |
+#define sqlite3_mutex_notheld(X) ((void)(X),1) |
#define sqlite3MutexAlloc(X) ((sqlite3_mutex*)8) |
#define sqlite3MutexInit() SQLITE_OK |
#define sqlite3MutexEnd() |
-#endif /* defined(SQLITE_OMIT_MUTEX) */ |
+#endif /* defined(SQLITE_MUTEX_OMIT) */ |