mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 979252 - Stop using GetVersionEx from SQLite. r=mak
This commit is contained in:
parent
277719146d
commit
554c0d177f
@ -42,6 +42,12 @@ DEFINES['SQLITE_DEFAULT_PAGE_SIZE'] = 32768
|
||||
DEFINES['SQLITE_MAX_DEFAULT_PAGE_SIZE'] = 32768
|
||||
DEFINES['SQLITE_MAX_SCHEMA_RETRY'] = 25
|
||||
|
||||
# -DSQLITE_WIN32_GETVERSIONEX=0 avoids using deprecated functions.
|
||||
# SQLite will just assume we are running on NT kinds of Windows. That's fine
|
||||
# because we don't support Win9x.
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
DEFINES['SQLITE_WIN32_GETVERSIONEX'] = 0
|
||||
|
||||
# -DSQLITE_ENABLE_LOCKING_STYLE=1 to help with AFP folders
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
DEFINES['SQLITE_ENABLE_LOCKING_STYLE'] = 1
|
||||
|
Loading…
Reference in New Issue
Block a user