зеркало из https://github.com/mozilla/gecko-dev.git
Bug 979252 - Stop using GetVersionEx from SQLite. r=mak
This commit is contained in:
Родитель
bc9bf44597
Коммит
54183f5f58
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче