summaryrefslogtreecommitdiff
path: root/include/ldsodefs.h
blob: ffc7b3c06781c2a1f781594682185278057fda95 (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 __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 CALL_DL_FCT(fctp, args) (*fctp) args

# endif	/* ldsodefs.h */
#endif