Add required defines under 32bit Linux
This commit is contained in:
parent
36e6243085
commit
4769e21e3d
2 changed files with 3 additions and 0 deletions
|
@ -64,11 +64,13 @@
|
||||||
'<!@(pkg-config --cflags <(linux_system_libraries))',
|
'<!@(pkg-config --cflags <(linux_system_libraries))',
|
||||||
# Needed by using libgtk2ui:
|
# Needed by using libgtk2ui:
|
||||||
'-Wno-deprecated-register',
|
'-Wno-deprecated-register',
|
||||||
|
'-Wno-sentinel',
|
||||||
],
|
],
|
||||||
'direct_dependent_settings': {
|
'direct_dependent_settings': {
|
||||||
'cflags': [
|
'cflags': [
|
||||||
'<!@(pkg-config --cflags <(linux_system_libraries))',
|
'<!@(pkg-config --cflags <(linux_system_libraries))',
|
||||||
'-Wno-deprecated-register',
|
'-Wno-deprecated-register',
|
||||||
|
'-Wno-sentinel',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
|
|
@ -144,6 +144,7 @@
|
||||||
'defines': [
|
'defines': [
|
||||||
'_LARGEFILE_SOURCE',
|
'_LARGEFILE_SOURCE',
|
||||||
'_LARGEFILE64_SOURCE',
|
'_LARGEFILE64_SOURCE',
|
||||||
|
'_FILE_OFFSET_BITS=64',
|
||||||
],
|
],
|
||||||
'cflags_cc': [
|
'cflags_cc': [
|
||||||
'-D__STRICT_ANSI__',
|
'-D__STRICT_ANSI__',
|
||||||
|
|
Loading…
Reference in a new issue