From b2aa0e3cfc5b1750676d2f8ae8cb47a0b6a4c353 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Fri, 11 May 2012 19:44:11 +0000 Subject: [PATCH] Fixed MSVC compilation --- .svn-revision | 2 +- src/SearchExpr.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.svn-revision b/.svn-revision index 57d3a3e7..f980666f 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10784 +10785 diff --git a/src/SearchExpr.h b/src/SearchExpr.h index 2389b96c..ef3c7f40 100644 --- a/src/SearchExpr.h +++ b/src/SearchExpr.h @@ -84,5 +84,10 @@ public: wxArrayString m_aExpr; }; +#ifdef _MSC_VER +#define YY_NO_UNISTD_H +#define DEBUG_NEW new +#endif + #endif // File_checked_for_headers -- 2.11.4.GIT