projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f482983
)
kernel/yosys.h: undef CONST on WIN32
author
umarcor
<unai.martinezcorral@ehu.eus>
Sat, 26 Dec 2020 22:21:30 +0000
(23:21 +0100)
committer
umarcor
<unai.martinezcorral@ehu.eus>
Mon, 28 Dec 2020 01:21:19 +0000
(
02:21
+0100)
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index ac4436c52445dd41f03498e58140d6a40cb446d2..43aecdbc8e508529f50eb85404ca7f85cfb0e63d 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-121,8
+121,9
@@
extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
# define fileno _fileno
# endif
-// mingw and msvc include `wingdi.h` which defines a TRANSPARENT macro
-// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
+// The following defines conflict with our identifiers:
+# undef CONST
+// `wingdi.h` defines a TRANSPARENT macro that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
# undef TRANSPARENT
#endif