projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5268c
)
Define TIMER_BEGIN and TIMER_END even when timers are not enabled
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Tue, 31 Jul 2012 19:01:16 +0000
(15:01 -0400)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Thu, 9 Aug 2012 15:23:45 +0000
(11:23 -0400)
This allows code that uses these macros to build when timers are
disabled.
pixman/pixman-private.h
patch
|
blob
|
history
diff --git
a/pixman/pixman-private.h
b/pixman/pixman-private.h
index
d5e6a72
..
dbfa829
100644
(file)
--- a/
pixman/pixman-private.h
+++ b/
pixman/pixman-private.h
@@
-1082,6
+1082,11
@@
void pixman_timer_register (pixman_timer_t *timer);
timer ## tname.total += OIL_STAMP () - begin ## tname; \
}
+#else
+
+#define TIMER_BEGIN(tname)
+#define TIMER_END(tname)
+
#endif /* PIXMAN_TIMERS */
/* sRGB<->linear conversion tables. Linear color space is the same