summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-12-08 15:40:59 -0500
committerBehdad Esfahbod <behdad@behdad.org>2006-12-08 15:40:59 -0500
commit16c7587f2dcab5abbbe62505e64c1ac9441dfb8e (patch)
tree84e6153d858c8e3f50dbac6eaab8ef1a35f9b0e2
parent6122c30930525c0d672166eab8b05e0951c7b039 (diff)
[slim] Define slim macros to dummy prototypes for non-gcc compilers (#9150)
-rwxr-xr-xsrc/cairoint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index 1f74d6231..e996a1c4d 100755
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -89,8 +89,8 @@ CAIRO_BEGIN_DECLS
# define slim_hidden_asmname(name) slim_hidden_asmname1(name)
# define slim_hidden_asmname1(name) slim_hidden_ulp #name
#else
-# define slim_hidden_proto(name)
-# define slim_hidden_def(name)
+# define slim_hidden_proto(name) int _cairo_dummy_prototype(void)
+# define slim_hidden_def(name) int _cairo_dummy_prototype(void)
#endif
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)