[pulseaudio-commits] r2253 - /branches/glitch-free/src/pulse/gccmacro.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Apr 11 09:51:22 PDT 2008


Author: lennart
Date: Fri Apr 11 18:51:21 2008
New Revision: 2253

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2253&root=pulseaudio&view=rev
Log:
add new PA_GCC_PACKED macro

Modified:
    branches/glitch-free/src/pulse/gccmacro.h

Modified: branches/glitch-free/src/pulse/gccmacro.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulse/gccmacro.h?rev=2253&root=pulseaudio&r1=2252&r2=2253&view=diff
==============================================================================
--- branches/glitch-free/src/pulse/gccmacro.h (original)
+++ branches/glitch-free/src/pulse/gccmacro.h Fri Apr 11 18:51:21 2008
@@ -86,4 +86,13 @@
 #endif
 #endif
 
+#ifndef PA_GCC_PACKED
+#ifdef __GNUCC__
+#define PA_GCC_PACKED __attribute__ ((packed))
+#else
+/** Structure shall be packed in memory **/
+#define PA_GCC_PACKED
 #endif
+#endif
+
+#endif




More information about the pulseaudio-commits mailing list