mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 00:58:02 +02:00
#define access _access and #define F_OK to 0 on for MSVC
add CAIRO_BEGIN_DECLS and CAIRO_END_DECLS
This commit is contained in:
parent
9becae35c0
commit
88615148ca
3 changed files with 12 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-12-14 Stuart Parmenter <pavlov@pavlov.net>
|
||||
* test/cairo-test.c: #define access _access and
|
||||
#define F_OK to 0 on for MSVC
|
||||
* test/cairo-test.h: add CAIRO_BEGIN_DECLS and
|
||||
CAIRO_END_DECLS
|
||||
|
||||
2005-12-14 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-meta-surface-private.h:
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@
|
|||
|
||||
#ifdef _MSC_VER
|
||||
#define vsnprintf _vsnprintf
|
||||
#define access _access
|
||||
#define F_OK 0
|
||||
#endif
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@
|
|||
#include <cairo.h>
|
||||
#include <cairo-debug.h>
|
||||
|
||||
CAIRO_BEGIN_DECLS
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif HAVE_INTTYPES_H
|
||||
|
|
@ -132,4 +134,6 @@ cairo_test_create_pattern_from_png (const char *filename);
|
|||
void
|
||||
xasprintf (char **strp, const char *fmt, ...);
|
||||
|
||||
CAIRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue