Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
authorJan Beich <jbeich@FreeBSD.org>
Thu, 03 Dec 2015 12:32:52 +0000
changeset 316133 e8bf3603cf747b82cda1eb86aeeddd442831ed8d
parent 316132 401c10d24183485f5a88ecc5a57e607cd2834139
child 316134 bf2c46cbeeb32087da013f805975c6f0cdf9c515
push id8516
push userjlund@mozilla.com
push dateFri, 18 Dec 2015 00:52:34 +0000
reviewersjesup
bugs1231117
milestone46.0a1
Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
media/mtransport/third_party/nICEr/src/util/mbslen.c
--- a/media/mtransport/third_party/nICEr/src/util/mbslen.c
+++ b/media/mtransport/third_party/nICEr/src/util/mbslen.c
@@ -38,17 +38,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 
 #include <errno.h>
 #include <csi_platform.h>
 
 #include <assert.h>
 #include <locale.h>
 #include <stdlib.h>
 #include <wchar.h>
-#if defined(DARWIN) || defined(__FreeBSD__)
+#if defined(DARWIN) || defined(__DragonFly__) || defined(__FreeBSD__)
 #define HAVE_XLOCALE
 #endif
 
 #ifdef HAVE_XLOCALE
 #include <xlocale.h>
 #endif /* HAVE_XLOCALE */
 
 #include "nr_api.h"