Browse Source

[core] errno_t and rsize_t detection on Illumos

(thx devnexen)
master
Glenn Strauss 5 months ago
parent
commit
8b38a6eb35
  1. 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…
Cancel
Save