[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] src/cairoint.h src/cairo-misc.c
From:       jrmuizel () kemper ! freedesktop ! org (Jeff Muizelaar)
Date:       2009-03-20 21:33:01
Message-ID: 20090320213301.91ECE10096 () kemper ! freedesktop ! org
[Download RAW message or body]

 src/cairo-misc.c |    4 ++--
 src/cairoint.h   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 895fce1632069ddfb8c581d2b23b1b3552e35104
Author: Stefan Klug <Klug.Stefan@gmx.de>
Date:   Fri Mar 20 17:20:22 2009 -0400

    [wince] Use the official _WIN32_WCE define instead of WINCE

diff --git a/src/cairo-misc.c b/src/cairo-misc.c
index ab30327..a6d4ffa 100644
--- a/src/cairo-misc.c
+++ b/src/cairo-misc.c
@@ -610,7 +610,7 @@ _cairo_lround (double d)
 #include <windows.h>
 #include <io.h>
 
-#if !WINCE
+#if !_WIN32_WCE
 /* tmpfile() replacement for Windows.
  *
  * On Windows tmpfile() creates the file in the root directory. This
@@ -660,7 +660,7 @@ _cairo_win32_tmpfile (void)
 
     return fp;
 }
-#endif /* !WINCE */
+#endif /* !_WIN32_WCE */
 
 #endif /* _WIN32 */
 
diff --git a/src/cairoint.h b/src/cairoint.h
index 035de28..66a9726 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -85,7 +85,7 @@
 
 CAIRO_BEGIN_DECLS
 
-#if _WIN32 && !WINCE // we don't have to worry about permissions on WINCE
+#if _WIN32 && !_WIN32_WCE // we don't have to worry about permissions on WinCE
 cairo_private FILE *
 _cairo_win32_tmpfile (void);
 #define tmpfile() _cairo_win32_tmpfile()
_______________________________________________
cairo-commit mailing list
cairo-commit@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic