Fix FreeBSD 12
FreeBSD 12 changed the type of freelocale to the type defined by POSIX. Check the FreeBSD version when building for FreeBSD.
This commit is contained in:
committed by
Victor Zverovich
parent
a4e4f74530
commit
edbbf7ce6c
@@ -14,6 +14,7 @@
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <sys/param.h> // for FreeBSD version
|
||||
# include <sys/types.h> // for ssize_t
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user