Skip to content

Commit 5e7c6c4

Browse files
authored
Merge pull request #2755 from gadfort/lef-windows
lef: check if windows compile in lef.y and avoid referencing the lef_parser.hpp as it fails to compile
2 parents e832d91 + bd8532a commit 5e7c6c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/odb/src/lef/lef/lef.y

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@
6363
#include "lefrCallBacks.hpp"
6464
#include "lefrSettings.hpp"
6565

66-
#include "lef_parser.hpp"
66+
#ifndef WIN32
67+
// Only include this on non-Windows platforms
68+
#include "lef_parser.hpp"
69+
#endif
6770

6871
BEGIN_LEFDEF_PARSER_NAMESPACE
6972

0 commit comments

Comments
 (0)