summaryrefslogtreecommitdiffstats
path: root/base/os_compat_nacl.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-26 22:53:13 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-26 22:53:13 +0000
commit1968d9778f74daa4056ddc5a18aeac5061d0314b (patch)
tree617c16cdb81229734e92aa908bbbd7a4923088be /base/os_compat_nacl.h
parenta24417742faf535b1a616984b03dcf8258b9f818 (diff)
downloadchromium_src-1968d9778f74daa4056ddc5a18aeac5061d0314b.zip
chromium_src-1968d9778f74daa4056ddc5a18aeac5061d0314b.tar.gz
chromium_src-1968d9778f74daa4056ddc5a18aeac5061d0314b.tar.bz2
Enable parts of base_untrusted that are used by remoting client
1. base64, rand_util, threading, time and threads were previosly disabled in base_untrusted. Remoting code depends on these parts of base, so they need to be enabled. 2. Implemented NaCl version of rand_util. 3. Enabled glibc version of base_untrusted BUG=134216 Review URL: https://chromiumcodereview.appspot.com/10795083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/os_compat_nacl.h')
-rw-r--r--base/os_compat_nacl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/os_compat_nacl.h b/base/os_compat_nacl.h
index 5c4b9a1..13e0e3f 100644
--- a/base/os_compat_nacl.h
+++ b/base/os_compat_nacl.h
@@ -7,8 +7,10 @@
#include <sys/types.h>
+#if !defined (__GLIBC__)
// NaCl has no timegm().
extern "C" time_t timegm(struct tm* const t);
+#endif // !defined (__GLIBC__)
#endif // BASE_OS_COMPAT_NACL_H_