blob: 5b45b600aa800f4cb2ab3d0d251b1ea994cb806d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Extremely incorrect logic here; fix it so that locale_t is defined properly.
--- mlt-6.8.0/src/framework/mlt_property.h.old 2018-05-10 20:16:56.000000000 -0500
+++ mlt-6.8.0/src/framework/mlt_property.h 2018-06-07 05:22:57.345580154 -0500
@@ -30,10 +30,10 @@
#include <sys/param.h>
#endif
-#if (defined(__GLIBC__) && !defined(__APPLE__)) || HAVE_LOCALE_H
-# include <locale.h>
-#elif defined(__APPLE__) || (__FreeBSD_version >= 900506)
+#if defined(__APPLE__) || (__FreeBSD_version >= 900506)
# include <xlocale.h>
+#elif defined(__linux__) || HAVE_LOCALE_H
+# include <locale.h>
#else
typedef char* locale_t;
#endif
|