From 69b811f340f43ba5343eddbe167dd4882e136fe6 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Fri, 19 Nov 2021 17:12:04 -0500 Subject: [PATCH] Revert "sunos: Oracle Developer Studio support (#3364)" This reverts commit 96b26b1ee291f96d6d5540966118b3599f8375b4. The commit was reported to break libuv on Illumos systems. --- include/uv.h | 2 -- test/test-fs.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uv.h b/include/uv.h index 61a2c546..77503bde 100644 --- a/include/uv.h +++ b/include/uv.h @@ -43,8 +43,6 @@ extern "C" { /* Building static library. */ # define UV_EXTERN /* nothing */ # endif -#elif defined(__sun) -# define UV_EXTERN __global #elif __GNUC__ >= 4 # define UV_EXTERN __attribute__((visibility("default"))) #else diff --git a/test/test-fs.c b/test/test-fs.c index 5478a290..f2336e1e 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -844,7 +844,7 @@ static void check_utime(const char* path, } else { double st_atim; double st_mtim; -#if !defined(__APPLE__) && !defined(__sun) +#ifndef __APPLE__ /* TODO(vtjnash): would it be better to normalize this? */ ASSERT_DOUBLE_GE(s->st_atim.tv_nsec, 0); ASSERT_DOUBLE_GE(s->st_mtim.tv_nsec, 0);