aboutsummaryrefslogtreecommitdiff
path: root/include/ldsodefs.h
blob: 3c24e4e4718d2787d4181de341b461c72d818e9f (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 DL_CALL_FCT(fctp, args) (*fctp) args

# endif	/* ldsodefs.h */
#endif