summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-29 17:06:15 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-30 02:06:15 +0100
commitdd33f418779c1476b6d8199f72611e282f889199 (patch)
treec1d0bcbacea63f0e23dd4127a7f84c377eee5ded /lib/pure
parent7f81195e5a2e423d09261fbdd83612bf0c4c909a (diff)
downloadNim-dd33f418779c1476b6d8199f72611e282f889199.tar.gz
refs #10121 (#10124)
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/times.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim
index 7afc3dade..0a06d5f9f 100644
--- a/lib/pure/times.nim
+++ b/lib/pure/times.nim
@@ -163,7 +163,8 @@ when defined(posix):
 
   when not defined(freebsd) and not defined(netbsd) and not defined(openbsd):
     var timezone {.importc, header: "<time.h>".}: int
-    tzset()
+    when not defined(valgrind_workaround_10121):
+      tzset()
 
 elif defined(windows):
   import winlean