[cairo-commit] src/cairo-compiler-private.h

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Thu Feb 12 09:57:25 PST 2009


 src/cairo-compiler-private.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8e1f103540392b17c51b4fb4b3c3480430cbc212
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Thu Feb 12 12:02:17 2009 -0500

    Divert pclose to _pclose for MSVC
    
    Commit bf62798b1284533e28b78717dac8070ca6d29e54 added a diversion for
    popen but not for pclose. This is needed for linking the boilerplate
    with the test suite.

diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index 44d9de3..bd7cccd 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -164,6 +164,7 @@
 #if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
 #define snprintf _snprintf
 #define popen _popen
+#define pclose _pclose
 #endif
 
 #ifdef _MSC_VER


More information about the cairo-commit mailing list