зеркало из https://github.com/mozilla/pjs.git
Bug 714315 - Use DirReaderFallback on OpenBSD, where __NR_getdents64 doesn't exist. r=cjones
This commit is contained in:
Родитель
683fe15fd9
Коммит
a13aa7d035
|
@ -18,7 +18,7 @@
|
|||
// seems worse than falling back to enumerating all file descriptors so we will
|
||||
// probably never implement this on the Mac.
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
#if defined(OS_LINUX) && !defined(OS_OPENBSD)
|
||||
#include "base/dir_reader_linux.h"
|
||||
#else
|
||||
#include "base/dir_reader_fallback.h"
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
namespace base {
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
#if defined(OS_LINUX) && !defined(OS_OPENBSD)
|
||||
typedef DirReaderLinux DirReaderPosix;
|
||||
#else
|
||||
typedef DirReaderFallback DirReaderPosix;
|
||||
|
|
Загрузка…
Ссылка в новой задаче