projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c06cb6
)
Fix compile for mingw
author
Miodrag Milanovic
<mmicko@gmail.com>
Wed, 15 Apr 2020 14:38:09 +0000
(16:38 +0200)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Wed, 15 Apr 2020 14:38:09 +0000
(16:38 +0200)
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index 6aed7c96ab4fabf6f22e0ee48422ecf2ccc85f4b..859d5d3332721ef9dab3e06fd77a1cc5f8494e8b 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-117,6
+117,10
@@
extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
# define PATH_MAX MAX_PATH
# define isatty _isatty
# define fileno _fileno
+# else
+// mingw includes `wingdi.h` which defines a TRANSPARENT macro
+// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
+# undef TRANSPARENT
# endif
#endif