[vlc-devel] commit: Penultimate (initial) public header fix ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon May 26 19:23:29 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon May 26 20:04:35 2008 +0300| [024bed3c7554d72db02069c6b9a2823e82f14ddf]
Penultimate (initial) public header fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=024bed3c7554d72db02069c6b9a2823e82f14ddf
---
include/vlc_common.h | 7 -------
include/vlc_fixups.h | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 3c93796..ae76d17 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -684,13 +684,6 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define LIBVLC_FORMAT(x,y)
#endif
-/* Alignment of critical static data structures */
-#ifdef ATTRIBUTE_ALIGNED_MAX
-# define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align)))
-#else
-# define ATTR_ALIGN(align)
-#endif
-
/* */
#define VLC_UNUSED(x) (void)(x)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 790dc36..f72ee52 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -204,6 +204,13 @@ static inline struct tm *gmtime_r (const time_t *timep, struct tm *result)
}
#endif
+/* Alignment of critical static data structures */
+#ifdef ATTRIBUTE_ALIGNED_MAX
+# define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align)))
+#else
+# define ATTR_ALIGN(align)
+#endif
+
#ifndef HAVE_USELOCALE
typedef void *locale_t;
# define newlocale( a, b, c ) ((locale_t)0)
More information about the vlc-devel
mailing list