[cairo] [PATCH 3/5] perf: Added conditional for static builds.

Zoxc zoxc32 at gmail.com
Thu Jun 24 11:31:53 PDT 2010


---
 perf/cairo-perf-trace.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c
index 8df51ba..3d76235 100644
--- a/perf/cairo-perf-trace.c
+++ b/perf/cairo-perf-trace.c
@@ -848,9 +848,11 @@ main (int   argc,
 
     return 0;
 }
-
+#ifndef CAIRO_PERF_STATIC_BUILD
 cairo_status_t
 _cairo_error (cairo_status_t status)
 {
     return status;
 }
+#endif
+
-- 
1.7.0.2.msysgit.0



More information about the cairo mailing list