From 5aa8278f6c4a3c211dd2e76c3c828a68c55ee28d Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 23 Apr 2014 00:06:56 +0200 Subject: Haiku build works again --- lib/pure/os.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 3cb1482b7..649dcd2d4 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -1612,6 +1612,7 @@ when defined(linux) or defined(solaris) or defined(bsd) or defined(aix): len = readlink(procPath, result, len) setLen(result, len) +when not (defined(windows) or defined(macosx)): proc getApplHeuristic(): string = result = string(paramStr(0)) # POSIX guaranties that this contains the executable -- cgit 1.4.1-2-gfad0 lect name='h' onchange='this.form.submit();'> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/tests/concepts/t7952.nim
blob: 96ff47e4a7faff1b43b65cec71231c5a995a0722 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12