1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix some compiler warnings under MSVC.

FossilOrigin-Name: afdc82a99eba260aed8ae2cca4bcec629f384098
This commit is contained in:
shaneh
2010-09-01 02:38:21 +00:00
parent c4d340a096
commit bd2aaf9ab1
9 changed files with 44 additions and 22 deletions

View File

@@ -63,8 +63,8 @@
#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()