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__
|
#define __WCWIDTH_H__
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
# if defined(__APPLE__)
|
# if defined(__APPLE__) || defined(__NetBSD__)
|
||||||
/* The <uchar.h> standard header is missing on macOS. */
|
/* The <uchar.h> standard header is missing on macOS. */
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
typedef unsigned int char32_t;
|
typedef unsigned int char32_t;
|
||||||
|
@ -73,7 +73,7 @@ typedef uint64_t u_int64_t;
|
|||||||
#include <stddef.h> /* size_t define */
|
#include <stddef.h> /* size_t define */
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
# if defined(__APPLE__)
|
# if defined(__APPLE__) || defined(__NetBSD__)
|
||||||
/* The <uchar.h> standard header is missing on macOS. */
|
/* The <uchar.h> standard header is missing on macOS. */
|
||||||
typedef unsigned int char32_t;
|
typedef unsigned int char32_t;
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user