mirror of https://github.com/YosysHQ/yosys.git
MSVC defines TRANSPARENT too
This commit is contained in:
parent
c4f20f744b
commit
c9c13c29df
|
@ -117,12 +117,12 @@ extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
|
||||||
# define PATH_MAX MAX_PATH
|
# define PATH_MAX MAX_PATH
|
||||||
# define isatty _isatty
|
# define isatty _isatty
|
||||||
# define fileno _fileno
|
# define fileno _fileno
|
||||||
# else
|
# endif
|
||||||
// mingw includes `wingdi.h` which defines a TRANSPARENT macro
|
|
||||||
|
// mingw and msvc include `wingdi.h` which defines a TRANSPARENT macro
|
||||||
// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
|
// that conflicts with X(TRANSPARENT) entry in kernel/constids.inc
|
||||||
# undef TRANSPARENT
|
# undef TRANSPARENT
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
# define PATH_MAX 4096
|
# define PATH_MAX 4096
|
||||||
|
|
Loading…
Reference in New Issue