aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.go
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-09-10 14:58:32 +0900
committermattn <mattn.jp@gmail.com>2014-09-10 14:58:32 +0900
commit3d78a08b9f3307ac3874f5c120f7d4166c62efb9 (patch)
treedcac993f954be469226279f69f89a59e51644f4a /sqlite3.go
parentAdd "date" to decltypes parsed as a unix time (diff)
downloadgolite-3d78a08b9f3307ac3874f5c120f7d4166c62efb9.tar.gz
golite-3d78a08b9f3307ac3874f5c120f7d4166c62efb9.tar.xz
Workaround for #109, #147
Diffstat (limited to 'sqlite3.go')
-rw-r--r--sqlite3.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlite3.go b/sqlite3.go
index f133897..5191a62 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -1,6 +1,9 @@
package sqlite3
/*
+#ifdef _WIN32
+# define _localtime32(x) localtime(x)
+#endif
#include <sqlite3.h>
#include <stdlib.h>
#include <string.h>