#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:
Stuart Parmenter 2005-12-14 19:56:09 +00:00
parent 9becae35c0
commit 88615148ca
3 changed files with 12 additions and 0 deletions

View file

@ -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:

View file

@ -49,6 +49,8 @@
#ifdef _MSC_VER
#define vsnprintf _vsnprintf
#define access _access
#define F_OK 0
#endif
static void

View file

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