aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/os/linux.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-23 01:49:56 +0000
committerlloyd <[email protected]>2009-12-23 01:49:56 +0000
commitc6026d662ab26954460d5390934d6affa9c8127e (patch)
treef66561f6c4e9859f91a91a3064bb94f7607459f6 /src/build-data/os/linux.txt
parent887f2afa7628d88daef361ca00188edd4d882f6d (diff)
Fix compile of get_nanoseconds_clock for Windows.
Add macros for OS support of gmtime_r (Unix) and gmtime_s (Win32) to deal with thread-unsafety of std::gmtime. Only enable gmtime_r on Linux currently, but it's probably available pretty much everywhere (specified in pthreads, origininally, AFAICT).
Diffstat (limited to 'src/build-data/os/linux.txt')
-rw-r--r--src/build-data/os/linux.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build-data/os/linux.txt b/src/build-data/os/linux.txt
index b3c227533..2f59fb9d1 100644
--- a/src/build-data/os/linux.txt
+++ b/src/build-data/os/linux.txt
@@ -4,6 +4,7 @@ os_type unix
clock_gettime
gettimeofday
posix_mlock
+gmtime_r
</target_features>
# Is this correct?