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

Vladimir Vukicevic vladimir at kemper.freedesktop.org
Sat Mar 21 11:56:36 PDT 2009


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

New commits:
commit 3b545330887209c68128fca0d1bb40bf4927c2a6
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date:   Sat Mar 21 11:56:18 2009 -0700

    [win32] Use _hypot instead of hypot
    
    The hypot symbol is deprecated on Win32, and nonexistent on Windows CE

diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index 445ef76..403c3f7 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -165,6 +165,7 @@
 #define snprintf _snprintf
 #define popen _popen
 #define pclose _pclose
+#define hypot _hypot
 #endif
 
 #ifdef _MSC_VER


More information about the cairo-commit mailing list