blob: f171d4c7ea021d9f7ef313a5a34f9d83bff2b3c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* We must use the appropriate version for the system. */
#ifdef HAVE_ELF
# include <elf/ldsodefs.h>
#else
/* We have no dynamic loading. Define the macros we need here as dummy
versions. */
# ifndef _LDSODEFS_H
# define _LDSODEFS_H 1
/* Call a function through a pointer. */
# define _CALL_DL_FCT(fctp, args) (*fctp) args
# define DL_CALL_FCT(fctp, args) (*fctp) args
# endif /* ldsodefs.h */
#endif
|