Skip to content

Commit 2a2ff9e

Browse files
vpinonddennedy
authored andcommitted
fix compilation on ubuntu artful (glic 2.26)
1 parent 73bfefd commit 2a2ff9e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/framework/mlt_property.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@
3030
#include <sys/param.h>
3131
#endif
3232

33-
#if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
34-
# if __GLIBC_MINOR__ >= 26 && !defined(__APPLE__)
35-
# include <locale.h>
36-
# else
37-
# include <xlocale.h>
38-
# endif
33+
#if defined(__GLIBC__) && !defined(__APPLE__)
34+
# include <locale.h>
35+
#elif defined(__APPLE__) || (__FreeBSD_version >= 900506)
36+
# include <xlocale.h>
3937
#else
4038
typedef char* locale_t;
4139
#endif

0 commit comments

Comments
 (0)