libprelude/master: Workaround Win32 compilation error

[email protected] Fri, 29 Jan 2010 18:01:00 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit d496681bd7449d284b845c8f67b220a02804ae96
Author: Yoann Vandoorselaere <[email protected]>
Date:   Thu Jan 21 21:45:14 2010 +0100

    Workaround Win32 compilation error


========================================

 bindings/c++/include/prelude-log.hxx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

========================================

diff --git a/bindings/c++/include/prelude-log.hxx b/bindings/c++/include/prelude-log.hxx
index 328f2e8..592ba00 100644
--- a/bindings/c++/include/prelude-log.hxx
+++ b/bindings/c++/include/prelude-log.hxx
@@ -27,6 +27,9 @@
 #include "prelude.h"
 #include "idmef-path.h"
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
+# undef ERROR
+#endif
 
 namespace Prelude {
         class PreludeLog {
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog