mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
wrap destructor gcc attribute in macro
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1525 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a094923fd5
commit
279b1b3311
1 changed files with 6 additions and 0 deletions
|
|
@ -52,4 +52,10 @@
|
||||||
#define PA_GCC_UNUSED
|
#define PA_GCC_UNUSED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define PA_GCC_DESTRUCTOR __attribute__ ((destructor))
|
||||||
|
#else
|
||||||
|
#define PA_GCC_DESTRUCTOR
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue