diff options
Diffstat (limited to 'features/mkc_libdl.h')
-rw-r--r-- | features/mkc_libdl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/features/mkc_libdl.h b/features/mkc_libdl.h new file mode 100644 index 0000000..046dade --- /dev/null +++ b/features/mkc_libdl.h @@ -0,0 +1,18 @@ +/********************************************************************\ + Copyright (c) 2014 by Aleksey Cheusov + + See LICENSE file in the distribution. +\********************************************************************/ + +#ifndef _MKC_LIBDL_H_ +#define _MKC_LIBDL_H_ + +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +# include <dlfcn.h> +# undef _GNU_SOURCE +#else +# include <dlfcn.h> +#endif + +#endif // _MKC_LIBDL_H_ |