projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f20f7
)
MSVC defines TRANSPARENT too
author
Anonymous Maarten
<anonymous.maarten@gmail.com>
Wed, 17 Jun 2020 13:08:55 +0000
(15:08 +0200)
committer
Anonymous Maarten
<anonymous.maarten@gmail.com>
Wed, 17 Jun 2020 13:10:08 +0000
(15:10 +0200)
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index c922faf26848075049401853579d55dfee534e60..4fca392282fa7e176833c8394f8b357026f5ec03 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-117,11
+117,11
@@
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
+
+// mingw and msvc include `wingdi.h` which defines a TRANSPARENT macro
+// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
+# undef TRANSPARENT
#endif
#ifndef PATH_MAX