[wince] Use the official _WIN32_WCE define instead of WINCE

This commit is contained in:
Stefan Klug 2009-03-20 17:20:22 -04:00 committed by Jeff Muizelaar
parent 86a935de42
commit 895fce1632
2 changed files with 3 additions and 3 deletions

View file

@ -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 */

View file

@ -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()