commit | 86fded21b55573bb9240552a284f1f3d7255bd32 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Fri May 15 12:01:38 2015 +0200 |
committer | Roger Meier <roger@apache.org> | Fri May 15 15:44:22 2015 +0200 |
tree | 6b7f0184cde4350fd73ca41c16940e9d792d58c4 | |
parent | 516e28a42d481725156d3d521d453c55b1dfd992 [diff] [blame] |
THRIFT-2850 CMake: improve Windows support use YY_NO_UNISTD_H and remove --wincompat
diff --git a/compiler/cpp/src/thriftl.ll b/compiler/cpp/src/thriftl.ll index a8ffe57..11ba1b9 100644 --- a/compiler/cpp/src/thriftl.ll +++ b/compiler/cpp/src/thriftl.ll
@@ -43,6 +43,8 @@ #pragma warning(disable:4102) //avoid isatty redefinition #define YY_NEVER_INTERACTIVE 1 + +#define YY_NO_UNISTD_H 1 #endif #include <cassert>