Fix utf8rewind compilation with GCC
This commit is contained in:
parent
0689c664d7
commit
5a2d940631
8
third_party/utf8rewind/utf8rewind.h
vendored
8
third_party/utf8rewind/utf8rewind.h
vendored
|
@ -69,6 +69,12 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
|
#if defined(LINUX) || defined(OSX)
|
||||||
|
#include <strings.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\addtogroup version
|
\addtogroup version
|
||||||
\{
|
\{
|
||||||
|
@ -1867,4 +1873,4 @@ UTF8_API size_t utf8iscategory(const char* input, size_t inputSize, size_t flags
|
||||||
\}
|
\}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#endif /* _UTF8REWIND_H_ */
|
#endif /* _UTF8REWIND_H_ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user