diff options
author | Stacey Marshall <stacey.marshall@gmail.com> | 2021-11-24 15:10:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 16:10:13 +0100 |
commit | e592ebe9d31088add987025df1271d2bf7daa957 (patch) | |
tree | 0b851eea913830af302959c34b3e11faef3e4b0a /docs/src | |
parent | 69b811f340f43ba5343eddbe167dd4882e136fe6 (diff) | |
download | libuv-e592ebe9d31088add987025df1271d2bf7daa957.tar.gz libuv-e592ebe9d31088add987025df1271d2bf7daa957.zip |
sunos: Oracle Developer Studio support (#3374)
Oracle Developer Studio requires public functions to be
defined as "__global" when "-fvisibility=hidden" used as
added by [#3005](https://github.com/libuv/libuv/pull/3005).
For documentation on `__global` see Reducing Symbol Scope in
Oracle Developer Studio C/C++ guide
https://www.oracle.com/solaris/technologies/symbol-scope.html.
fs_utime_round test failed as timespec.tv_nsec conversion to
double resulted in negative number. Skip this test for
__SPRO_C builds.
Note that it was necessary to have C99 language features
enabled with Studio compiler (-xc99=all) as version v1.41.0
has other commits that have used C99 features.
Tested with:
- cc: Studio 12.6 Sun C 5.15 SunOS_sparc 152881-05 2019/10/30
- gcc (GCC) 11.2.0
Refs: https://github.com/libuv/libuv/pull/3364
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions