3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 09:04:08 +00:00

Merge pull request #1894 from YosysHQ/mingw_fix

Fix compile for mingw
This commit is contained in:
Miodrag Milanović 2020-04-15 17:43:31 +02:00 committed by GitHub
commit 3c4758c60e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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