diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-07-01 15:33:13 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-07-01 15:33:13 -0700 |
commit | 142617c8e1cad65fa483c5beb78ab40a99626a87 (patch) | |
tree | 42adb52f00d8f6642e3c3dee5ba09765a5ae82e7 /file.c | |
parent | f53d7e4bfd604be6f8131c5460c29f4af16da117 (diff) |
Don't use native realpath(3) on Solaris
CI shows it does work on Solaris 11, but does not work on Solaris
10. However, until I figure out a good way to differentiate
between Solaris 10 and 11, this should get CI passing on both.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -146,6 +146,11 @@ int flock(int, int); # define UTIME_EINVAL #endif +/* Solaris 10 realpath(3) doesn't support File.realpath */ +#if defined HAVE_REALPATH && defined __sun && defined __SVR4 +#undef HAVE_REALPATH +#endif + #ifdef HAVE_REALPATH #include <limits.h> #include <stdlib.h> |