[cairo-commit] cairo/test cairo-test.c, 1.66, 1.67 cairo-test.h,
1.15, 1.16
Stuart Parmenter
commit at pdx.freedesktop.org
Wed Dec 14 19:56:11 PST 2005
Committed by: pavlov
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv28860/test
Modified Files:
cairo-test.c cairo-test.h
Log Message:
2005-12-14 Stuart Parmenter <pavlov at 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
Index: cairo-test.c
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- cairo-test.c 12 Dec 2005 19:56:40 -0000 1.66
+++ cairo-test.c 15 Dec 2005 03:56:09 -0000 1.67
@@ -49,6 +49,8 @@
#ifdef _MSC_VER
#define vsnprintf _vsnprintf
+#define access _access
+#define F_OK 0
#endif
static void
Index: cairo-test.h
===================================================================
RCS file: /cvs/cairo/cairo/test/cairo-test.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cairo-test.h 13 Sep 2005 19:11:32 -0000 1.15
+++ cairo-test.h 15 Dec 2005 03:56:09 -0000 1.16
@@ -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 @@
void
xasprintf (char **strp, const char *fmt, ...);
+CAIRO_END_DECLS
+
#endif
More information about the cairo-commit
mailing list