From 901b7bdaf2b7e312038b2100b815b303e4758f7e Mon Sep 17 00:00:00 2001 From: cheatfate Date: Thu, 18 Feb 2016 18:17:01 +0200 Subject: Resolve "redifintion" errors, when using Microsoft Compiler and Visual Studio headers described in Issue #3879 --- lib/windows/winlean.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim index d00964a6d..9224c1ebd 100644 --- a/lib/windows/winlean.nim +++ b/lib/windows/winlean.nim @@ -14,6 +14,9 @@ import dynlib +when defined(vcc): + {.passC: "-DWIN32_LEAN_AND_MEAN".} + const useWinUnicode* = not defined(useWinAnsi) -- cgit 1.4.1-2-gfad0 ac68a1acf'/> 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/doc/apis.txt
blob: 67534dec8c88981874d51fd7a7c376baf1ee2b70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
;yuriy.glukhov@gmail.com>  2018-05-09 22:25:28 +0300

Yield in try' href='/ahoang/Nim/commit/compiler/closureiters.nim?h=devel&id=ce634909281ffc8efbc7d192f557ffe38f49e740'>ce6349092 ^





























1
2
3
4