-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
I'd like to build with this compile-time option.
I put it in configProduction in generator.go but get stuck running go generate:
$ go generate
Running on darwin/amd64.
target: darwin/amd64
C front end 1/1: testdata/sqlite-amalgamation-3360000/sqlite3.c ... /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:81:25: `fpos_t`: expected declaration: IDENTIFIER
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:139:2: `fpos_t`: expected }
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/i386/_types.h:98:33: `__darwin_va_list`: expected ;
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:32: `size_t`: expected declaration: IDENTIFIER
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h:32:26: `va_list`: expected declaration: IDENTIFIER
exit status 1
sqlite.go:5: running "go": exit status 1
Note this happens regardless of whether I put the extra option in there. Have I missed something? Could you link me to some info on how to build myself, or is this right and it's a problem with Xcode?
Cheers!