]> git.sesse.net Git - vlc/commitdiff
Penultimate (initial) public header fix
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 26 May 2008 17:04:35 +0000 (20:04 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 26 May 2008 17:04:35 +0000 (20:04 +0300)
include/vlc_common.h
include/vlc_fixups.h

index 3c937967347fc81ed4caf4ac03c5c236e79348bd..ae76d171fd48fc06c5a6d7461231a445d3493722 100644 (file)
@@ -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)
 
index 790dc36c612e9135c21fef8ebf4ac9ab30682ce3..f72ee528d065ace1e7d4f3fe9908e5da01cfc79a 100644 (file)
@@ -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)