aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-17 09:13:55 -0700
committerChris Robinson <[email protected]>2011-05-17 09:13:55 -0700
commit60965e3a6c0bcf719a3dc266beccda4c4f560a72 (patch)
tree60ce197d76fa1a36e780813975744c0a6dafaa40 /config.h.in
parentb5cb2d633c5df80128ce7fb08064c1f8df1dd731 (diff)
Determine the function export attribute using CMake
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
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