OpenBSD 6.5 - correct parameter for scandir call

Bugs

Modérateur : xcasadmin

dimpase
Messages : 14
Inscription : mer. oct. 24, 2018 9:58 am

OpenBSD 6.5 - correct parameter for scandir call

Message par dimpase » lun. juin 10, 2019 9:51 am

To let help.cc compile, the following change in line 943 is needed:

#if ( defined(__MAC_OS_X_VERSION_MAX_ALLOWED)&& __MAC_OS_X_VERSION_MAX_ALLOWED< 1080 ) || ( defined(__IPHONE_OS_VERSION_MAX_ALLOWED)&& __IPHONE_OS_VERSION_MAX_ALLOWED< 60100 ) || ( defined(__OpenBSD__)&& OpenBSD<201905) || ( defined(__FreeBSD_version)&& __FreeBSD_version<800501)

i.e., replace

defined(__OpenBSD__)

with

( defined(__OpenBSD__)&& OpenBSD<201905)


Répondre