summary refs log tree commit diff stats
path: root/lib/std/monotimes.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-17 10:30:09 -0800
committerGitHub <noreply@github.com>2021-02-17 19:30:09 +0100
commit31bb67a309ae4bfdc1909c0a7c6748a534a0b00e (patch)
tree8169cc14488a083ffb2d1e8373042bdc0c0c0e73 /lib/std/monotimes.nim
parent35e14998ec97deb4efdbec9390b607c876a7a17f (diff)
downloadNim-31bb67a309ae4bfdc1909c0a7c6748a534a0b00e.tar.gz
add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
Diffstat (limited to 'lib/std/monotimes.nim')
-rw-r--r--lib/std/monotimes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/monotimes.nim b/lib/std/monotimes.nim
index c56bf77b3..f84670ecc 100644
--- a/lib/std/monotimes.nim
+++ b/lib/std/monotimes.nim
@@ -74,7 +74,7 @@ when defined(js):
     system.`+`(a, b)
   {.pop.}
 
-elif defined(posix):
+elif defined(posix) and not defined(osx):
   import posix
 
 elif defined(windows):