Skip to content

Commit

Permalink
Fix test compilation for FreeBSD (#433)
Browse files Browse the repository at this point in the history
(cherry picked from commit fac5546)
  • Loading branch information
vitaut authored and foonathan committed Jun 8, 2017
1 parent a55df13 commit 850405f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/posix-mock-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ LocaleType newlocale(int category_mask, const char *locale, LocaleType base) {
return LocaleMock::instance->newlocale(category_mask, locale, base);
}

#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__)
typedef int FreeLocaleResult;
#else
typedef void FreeLocaleResult;
Expand Down

0 comments on commit 850405f

Please sign in to comment.