Created
March 30, 2009 06:08
-
-
Save mattn/87656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9658bdcdfe4728663824641e0a016076b818c2e0 Mon Sep 17 00:00:00 2001 | |
From: mattn <[email protected]> | |
Date: Mon, 30 Mar 2009 15:02:50 +0900 | |
Subject: [PATCH] diable define macro of stdout, stderr on win32. | |
--- | |
share/bindpp.h | 5 +++++ | |
1 files changed, 5 insertions(+), 0 deletions(-) | |
diff --git a/share/bindpp.h b/share/bindpp.h | |
index 24e94f1..b97bf4f 100644 | |
--- a/share/bindpp.h | |
+++ b/share/bindpp.h | |
@@ -23,6 +23,11 @@ extern "C" { | |
#include <cstdarg> | |
}; | |
+#ifdef _WIN32 | |
+# undef stderr | |
+# undef stdout | |
+#endif | |
+ | |
namespace pl { | |
class Str; | |
class UInt; | |
-- | |
1.6.2.1217.gd7bc3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment