projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a094923
)
wrap destructor gcc attribute in macro
author
Lennart Poettering
<lennart@poettering.net>
Wed, 25 Jul 2007 14:41:54 +0000
(14:41 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 25 Jul 2007 14:41:54 +0000
(14:41 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1525
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/gccmacro.h
patch
|
blob
|
history
diff --git
a/src/pulsecore/gccmacro.h
b/src/pulsecore/gccmacro.h
index
57d2800
..
f3ace59
100644
(file)
--- a/
src/pulsecore/gccmacro.h
+++ b/
src/pulsecore/gccmacro.h
@@
-52,4
+52,10
@@
#define PA_GCC_UNUSED
#endif
+#ifdef __GNUC__
+#define PA_GCC_DESTRUCTOR __attribute__ ((destructor))
+#else
+#define PA_GCC_DESTRUCTOR
+#endif
+
#endif