Skip to content

Commit

Permalink
dyn_unix.c: used everywhere except on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LudovicRousseau committed Apr 24, 2024
1 parent 10723c0 commit 2c489c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dyn_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "config.h"
#include <stdio.h>
#include <string.h>
#if defined(HAVE_DLFCN_H) && !defined(HAVE_DL_H) && !defined(__APPLE__)
#ifndef __APPLE__
#include <dlfcn.h>
#include <stdlib.h>
#include <stdbool.h>
Expand Down Expand Up @@ -111,4 +111,4 @@ INTERNAL LONG DYN_GetAddress(void *pvLHandle, void **pvFHandle,
return rv;
}

#endif /* HAVE_DLFCN_H && !HAVE_DL_H && !__APPLE__ */
#endif /* !__APPLE__ */

0 comments on commit 2c489c2

Please sign in to comment.