Chromium Code Reviews| Index: sandbox/linux/services/libc_urandom_override.cc |
| diff --git a/sandbox/linux/services/libc_urandom_override.cc b/sandbox/linux/services/libc_urandom_override.cc |
| index dfb4c269e3ffd10a14f425ceae1580474767372d..913b65ee18edee6dee7bfa8449e6e9bcc69f0697 100644 |
| --- a/sandbox/linux/services/libc_urandom_override.cc |
| +++ b/sandbox/linux/services/libc_urandom_override.cc |
| @@ -59,6 +59,7 @@ static void InitLibcFileIOFunctions() { |
| g_libc_fopen64 = g_libc_fopen; |
| } |
| +#ifdef LIBC_GLIBC |
|
agl
2013/06/12 19:19:56
#if defined(LIBC_GLIBC)
(seems to be the style in
Mostyn Bramley-Moore
2013/06/12 19:38:35
Done.
|
| // TODO(sergeyu): This works only on systems with glibc. Fix it to |
| // work properly on other systems if necessary. |
| g_libc_xstat = reinterpret_cast<XstatFunction>( |
| @@ -155,6 +156,7 @@ int xstat64_override(int version, const char *path, struct stat64 *buf) { |
| return g_libc_xstat64(version, path, buf); |
| } |
| } |
| +#endif // LIBC_GLIBC |
| #endif // !ADDRESS_SANITIZER |