зеркало из https://github.com/mozilla/pjs.git
Bug 648735 - Define stat64 to stat on Open/FreeBSD, since they don't have stat64() but stat handles >2Gb files fine; r=cjones
lifted from freebsd's www/firefox/files/patch-ipc-chromium-src-base-file_util_posix.cc and https://bugzilla.mozilla.org/attachment.cgi?id=527621
This commit is contained in:
Родитель
44eb5f7273
Коммит
9b7baee087
|
@ -30,6 +30,11 @@
|
|||
#include "base/string_util.h"
|
||||
#include "base/time.h"
|
||||
|
||||
// FreeBSD/OpenBSD lacks stat64, but its stat handles files >2GB just fine
|
||||
#if defined(OS_FREEBSD) || defined(OS_OPENBSD)
|
||||
#define stat64 stat
|
||||
#endif
|
||||
|
||||
namespace file_util {
|
||||
|
||||
#if defined(GOOGLE_CHROME_BUILD)
|
||||
|
|
Загрузка…
Ссылка в новой задаче