1
0
mirror of https://github.com/janet-lang/janet synced 2026-03-18 13:49:49 +00:00

illumos support

This commit is contained in:
snltd
2025-08-18 18:39:11 +00:00
parent f764788b36
commit deede6bae0
4 changed files with 28 additions and 3 deletions

View File

@@ -77,6 +77,11 @@ extern "C" {
#define JANET_CYGWIN 1
#endif
/* Check for Illumos */
#if defined(__illumos__)
#define JANET_ILLUMOS 1
#endif
/* Check Unix */
#if defined(_AIX) \
|| defined(__APPLE__) /* Darwin */ \
@@ -162,7 +167,7 @@ extern "C" {
#endif
/* Check sun */
#ifdef __sun
#if defined(__sun) && !defined(JANET_ILLUMOS)
#define JANET_NO_UTC_MKTIME
#endif