[core] errno_t and rsize_t detection on Illumos
(thx devnexen)
This commit is contained in:
parent
7eac25ac7f
commit
8b38a6eb35
5
src/ck.h
5
src/ck.h
|
@ -18,16 +18,13 @@
|
|||
#endif
|
||||
#endif
|
||||
#include "first.h"
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__sun)
|
||||
#ifndef _RSIZE_T_DEFINED /* expecting __EXT1_VISIBLE 1 and _RSIZE_T_DEFINED */
|
||||
#define _RSIZE_T_DEFINED
|
||||
typedef size_t rsize_t;
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#endif
|
||||
#ifdef __sun
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue