瀏覽代碼

pull in hans' mac build fix

git-svn-id: https://leveldb.googlecode.com/svn/trunk@26 62dab493-f737-651d-591e-8d6aee1b9529
xry
dgrogan@chromium.org 13 年之前
父節點
當前提交
be9f061d2f
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      util/env_chromium.cc

+ 3
- 1
util/env_chromium.cc 查看文件

@ -31,7 +31,8 @@
#if defined(OS_MACOSX) || defined(OS_WIN)
// The following are glibc-specific
extern "C" {
namespace {
size_t fread_unlocked(void *ptr, size_t size, size_t n, FILE *file) {
return fread(ptr, size, n, file);
}
@ -51,6 +52,7 @@ int fdatasync(int fildes) {
return fsync(fildes);
#endif
}
}
#endif

Loading…
取消
儲存