We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a5180 commit 0a05411Copy full SHA for 0a05411
examples/basic/main
4.23 MB
sqlite3/sqlite3.go
@@ -46,6 +46,8 @@ package sqlite3
46
47
#cgo linux,!android CFLAGS: -DHAVE_FDATASYNC=1
48
#cgo linux,!android CFLAGS: -DHAVE_PREAD=1 -DHAVE_PWRITE=1
49
+#cgo darwin CFLAGS: -DHAVE_FDATASYNC=1
50
+#cgo darwin CFLAGS: -DHAVE_PREAD=1 -DHAVE_PWRITE=1
51
52
#cgo windows LDFLAGS: -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic
53
0 commit comments