summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorcooldome <cdome@bk.ru>2019-04-04 11:42:08 +0100
committerGitHub <noreply@github.com>2019-04-04 11:42:08 +0100
commit8546393ddbabde06e06807036772813568404673 (patch)
tree4244d498d4b3dd30b99c5ff11a430fa1ef17431f /lib
parent65ee80e50ca6b693eab6216383405797c748b72f (diff)
parentad1c6fe8b9714516ad4816b211e12cd05c115b92 (diff)
downloadNim-8546393ddbabde06e06807036772813568404673.tar.gz
Merge pull request #10954 from cooldome/atomicInc_regression
fixes regression #10953
Diffstat (limited to 'lib')
-rw-r--r--lib/system/atomics.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/atomics.nim b/lib/system/atomics.nim
index b41b4009a..9111c072a 100644
--- a/lib/system/atomics.nim
+++ b/lib/system/atomics.nim
@@ -171,7 +171,7 @@ elif defined(vcc) and hasThreadSupport:
         header: "<intrin.h>".}
     else:
       proc addAndFetch*(p: ptr int, val: int): int {.
-        importcpp: "_InterlockedExchangeAdd(reinterpret_cast<LONG volatile *>(#), static_cast<LONG>(#))",
+        importcpp: "_InterlockedExchangeAdd(reinterpret_cast<long volatile *>(#), static_cast<long>(#))",
         header: "<intrin.h>".}
   else:
     when sizeof(int) == 8:
:42 +0200 committer Andreas Rumpf <rumpf_a@web.de> 2018-05-10 13:12:42 +0200 big refactoring: magicsys compiles again' href='/ahoang/Nim/commit/compiler/magicsys.nim?h=devel&id=0d56dd4677b8f6b080844db8655b41c10bee68c1'>0d56dd467 ^
e25474154 ^
0d56dd467 ^

e25474154 ^
0d56dd467 ^

e25474154 ^
7916b1f9a ^
e25474154 ^
0d56dd467 ^
40ec7be45 ^
d68181246 ^
0d56dd467 ^
40ec7be45 ^
0d56dd467 ^
dbf9117c5 ^
d68181246 ^
0d56dd467 ^
23ef565a3 ^
40ec7be45 ^
0d56dd467 ^
e8faa214e ^
e8faa214e ^

65801e4b6 ^
e8faa214e ^
0d56dd467 ^
e8faa214e ^
0d56dd467 ^
328e7a100 ^
0d56dd467 ^
d68181246 ^
0d56dd467 ^

e25474154 ^
0d56dd467 ^


d68181246 ^
e25474154 ^





e2d38a57e ^




e25474154 ^

4d9b2f671 ^
e2d38a57e ^
e25474154 ^


438703f59 ^
e25474154 ^
a4e2b0c15 ^
0d56dd467 ^

d68181246 ^
0d56dd467 ^

2900ceae3 ^
0d56dd467 ^





2900ceae3 ^
0d56dd467 ^

c67520a7c ^
0d56dd467 ^
4fbba0a65 ^

0d56dd467 ^

4fbba0a65 ^
0d56dd467 ^
2900ceae3 ^

0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^


0d56dd467 ^
7056ceda6 ^
0d56dd467 ^
7056ceda6 ^

121d4e0fc ^
0d56dd467 ^




121d4e0fc ^
2df9b442c ^
64517445e ^

23ef565a3 ^


121d4e0fc ^
0d56dd467 ^
4fbba0a65 ^
a4e2b0c15 ^
0d56dd467 ^
4fbba0a65 ^

0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^

0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^


0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^
4fbba0a65 ^
0d56dd467 ^


2900ceae3 ^
0d56dd467 ^
40ec7be45 ^
0d56dd467 ^
dbf9117c5 ^
0d56dd467 ^

e25474154 ^
0d56dd467 ^
a2c040e3b ^
0d56dd467 ^
a2c040e3b ^
0d56dd467 ^
a2c040e3b ^
0d56dd467 ^
feef109e6 ^
a2c040e3b ^
0d56dd467 ^
40ec7be45 ^
e25474154 ^
0d56dd467 ^
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177