diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-06-18 12:44:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 12:44:21 +0200 |
commit | 2123019ac6da12fa116955ee397183363a6e5eaf (patch) | |
tree | e523c5428ab51e9dc2b8f54f2fe5587670c28968 /kernel/yosys.h | |
parent | c4f20f744be57d4628400368d5fce040a9dbf269 (diff) | |
parent | 60fb9cabcfad985a4f35acaa74fd6e63b45081bc (diff) | |
download | yosys-2123019ac6da12fa116955ee397183363a6e5eaf.tar.gz yosys-2123019ac6da12fa116955ee397183363a6e5eaf.tar.bz2 yosys-2123019ac6da12fa116955ee397183363a6e5eaf.zip |
Merge pull request #2164 from madebr/msvc
Get yosys building on Visual Studio
Diffstat (limited to 'kernel/yosys.h')
-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 |