diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-06-17 15:08:55 +0200 |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-06-17 15:10:08 +0200 |
commit | c9c13c29dfcbb9c54f1d2388e623829b6f5a0c25 (patch) | |
tree | a330eb8f6e97b055ad49b6660892e56314abfa4c /kernel | |
parent | c4f20f744be57d4628400368d5fce040a9dbf269 (diff) | |
download | yosys-c9c13c29dfcbb9c54f1d2388e623829b6f5a0c25.tar.gz yosys-c9c13c29dfcbb9c54f1d2388e623829b6f5a0c25.tar.bz2 yosys-c9c13c29dfcbb9c54f1d2388e623829b6f5a0c25.zip |
MSVC defines TRANSPARENT too
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/yosys.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index c922faf26..4fca39228 100644 --- 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 |