mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 22:18:29 +02:00
[wince] Use the official _WIN32_WCE define instead of WINCE
This commit is contained in:
parent
86a935de42
commit
895fce1632
2 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue