linux: Define _LARGEFILE_SOURCE

This commit is contained in:
Cheng Zhao 2015-04-12 07:55:44 +00:00
parent 2e7b3f0d78
commit 36e6243085

View file

@ -141,6 +141,10 @@
], ],
}], }],
['OS=="linux"', { ['OS=="linux"', {
'defines': [
'_LARGEFILE_SOURCE',
'_LARGEFILE64_SOURCE',
],
'cflags_cc': [ 'cflags_cc': [
'-D__STRICT_ANSI__', '-D__STRICT_ANSI__',
'-std=gnu++11', '-std=gnu++11',