summaryrefslogtreecommitdiffstats
path: root/devel/libfmt/files/patch-test_posix-mock-test.cc
blob: 3cf5886e3cb7c959135121740df2e2f9b4618e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- test/posix-mock-test.cc.orig	2016-12-01 18:09:30 UTC
+++ test/posix-mock-test.cc
@@ -502,7 +502,7 @@ LocaleType newlocale(int category_mask, 
   return LocaleMock::instance->newlocale(category_mask, locale, base);
 }
 
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
 typedef int FreeLocaleResult;
 #else
 typedef void FreeLocaleResult;
OpenPOWER on IntegriCloud