[pulseaudio-commits] r1525 - /branches/lennart/src/pulsecore/gccmacro.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Jul 25 07:41:54 PDT 2007


Author: lennart
Date: Wed Jul 25 16:41:54 2007
New Revision: 1525

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1525&root=3Dpulseaudio&vi=
ew=3Drev
Log:
wrap destructor gcc attribute in macro

Modified:
    branches/lennart/src/pulsecore/gccmacro.h

Modified: branches/lennart/src/pulsecore/gccmacro.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
gccmacro.h?rev=3D1525&root=3Dpulseaudio&r1=3D1524&r2=3D1525&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/gccmacro.h (original)
+++ branches/lennart/src/pulsecore/gccmacro.h Wed Jul 25 16:41:54 2007
@@ -52,4 +52,10 @@
 #define PA_GCC_UNUSED
 #endif
 =

+#ifdef __GNUC__
+#define PA_GCC_DESTRUCTOR __attribute__ ((destructor))
+#else
+#define PA_GCC_DESTRUCTOR
 #endif
+
+#endif




More information about the pulseaudio-commits mailing list