Skip to content

Commit

Permalink
Fix test compilation for FreeBSD (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jan 22, 2018
1 parent e79588d commit 72d9fff
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 @@ -496,7 +496,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 72d9fff

Please sign in to comment.