Commit 024bed3c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Penultimate (initial) public header fix

parent 9d85c35d
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment