[cairo-commit] src/cairoint.h src/cairo-misc.c
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Fri Mar 20 14:33:01 PDT 2009
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 at 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()
More information about the cairo-commit
mailing list