diff options
author | Chris Robinson <[email protected]> | 2011-05-17 09:13:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-17 09:13:55 -0700 |
commit | 60965e3a6c0bcf719a3dc266beccda4c4f560a72 (patch) | |
tree | 60ce197d76fa1a36e780813975744c0a6dafaa40 /config.h.in | |
parent | b5cb2d633c5df80128ce7fb08064c1f8df1dd731 (diff) |
Determine the function export attribute using CMake
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config.h.in b/config.h.in index d22e3fba..f5ccb5c7 100644 --- a/config.h.in +++ b/config.h.in @@ -1,5 +1,6 @@ -#ifndef CONFIG_H -#define CONFIG_H +/* API declaration export attribute */ +#define AL_API ${EXPORT_DECL} +#define ALC_API ${EXPORT_DECL} /* Define to the library version */ #define ALSOFT_VERSION "${LIB_VERSION}" @@ -105,5 +106,3 @@ /* Define if we have the __restrict keyword */ #cmakedefine HAVE___RESTRICT - -#endif |