UNQLITE_ENABLE_THREADS=1 On Windows

Get it to compile with UNQLITE_ENABLE_THREADS=1 on Windows GCC (On a separate branch this time)
This commit is contained in:
Dan Goldsmith 2014-02-25 17:06:19 +00:00
parent dd85ad5a91
commit e350fa2043

View file

@ -3,6 +3,7 @@ package unqlitego
/* /*
#cgo linux CFLAGS: -DUNQLITE_ENABLE_THREADS=1 -Wno-unused-but-set-variable #cgo linux CFLAGS: -DUNQLITE_ENABLE_THREADS=1 -Wno-unused-but-set-variable
#cgo darwin CFLAGS: -DUNQLITE_ENABLE_THREADS=1 #cgo darwin CFLAGS: -DUNQLITE_ENABLE_THREADS=1
#cgo windows CFLAGS: -DUNQLITE_ENABLE_THREADS=1
#include "./unqlite.h" #include "./unqlite.h"
#include <stdlib.h> #include <stdlib.h>
*/ */