Fix building on NetBSD
This commit is contained in:
parent
9b02415ec8
commit
9be28095cb
2
extern/wcwidth/wcwidth.h
vendored
2
extern/wcwidth/wcwidth.h
vendored
@ -21,7 +21,7 @@
|
||||
#define __WCWIDTH_H__
|
||||
|
||||
#ifndef __cplusplus
|
||||
# if defined(__APPLE__)
|
||||
# if defined(__APPLE__) || defined(__NetBSD__)
|
||||
/* The <uchar.h> standard header is missing on macOS. */
|
||||
#include <stddef.h>
|
||||
typedef unsigned int char32_t;
|
||||
|
@ -73,7 +73,7 @@ typedef uint64_t u_int64_t;
|
||||
#include <stddef.h> /* size_t define */
|
||||
|
||||
#ifndef __cplusplus
|
||||
# if defined(__APPLE__)
|
||||
# if defined(__APPLE__) || defined(__NetBSD__)
|
||||
/* The <uchar.h> standard header is missing on macOS. */
|
||||
typedef unsigned int char32_t;
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user