2011-05-17 16:13:55 +00:00
|
|
|
/* API declaration export attribute */
|
|
|
|
#define AL_API ${EXPORT_DECL}
|
|
|
|
#define ALC_API ${EXPORT_DECL}
|
2007-11-14 02:02:18 +00:00
|
|
|
|
2008-10-25 22:48:17 +00:00
|
|
|
/* Define to the library version */
|
|
|
|
#define ALSOFT_VERSION "${LIB_VERSION}"
|
|
|
|
|
2013-06-18 21:33:39 +00:00
|
|
|
#ifdef IN_IDE_PARSER
|
|
|
|
/* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but
|
|
|
|
* recent versions (at least 4.5.1) do recognize GCC's __restrict. */
|
|
|
|
#define restrict __restrict
|
|
|
|
#endif
|
|
|
|
|
2012-10-09 08:46:02 +00:00
|
|
|
/* Define any available alignment declaration */
|
2012-08-15 10:43:36 +00:00
|
|
|
#define ALIGN(x) ${ALIGN_DECL}
|
|
|
|
|
2012-08-15 12:50:40 +00:00
|
|
|
/* Define if we have the C11 aligned_alloc function */
|
|
|
|
#cmakedefine HAVE_ALIGNED_ALLOC
|
|
|
|
|
|
|
|
/* Define if we have the posix_memalign function */
|
|
|
|
#cmakedefine HAVE_POSIX_MEMALIGN
|
|
|
|
|
|
|
|
/* Define if we have the _aligned_malloc function */
|
|
|
|
#cmakedefine HAVE__ALIGNED_MALLOC
|
|
|
|
|
2012-08-15 08:24:50 +00:00
|
|
|
/* Define if we have SSE CPU extensions */
|
|
|
|
#cmakedefine HAVE_SSE
|
2014-06-04 09:57:13 +00:00
|
|
|
#cmakedefine HAVE_SSE2
|
|
|
|
#cmakedefine HAVE_SSE4_1
|
2012-08-15 08:24:50 +00:00
|
|
|
|
|
|
|
/* Define if we have ARM Neon CPU extensions */
|
|
|
|
#cmakedefine HAVE_NEON
|
|
|
|
|
2013-11-28 11:03:16 +00:00
|
|
|
/* Define if we have FluidSynth support */
|
|
|
|
#cmakedefine HAVE_FLUIDSYNTH
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
/* Define if we have the ALSA backend */
|
|
|
|
#cmakedefine HAVE_ALSA
|
|
|
|
|
|
|
|
/* Define if we have the OSS backend */
|
|
|
|
#cmakedefine HAVE_OSS
|
|
|
|
|
2008-09-07 21:34:14 +00:00
|
|
|
/* Define if we have the Solaris backend */
|
|
|
|
#cmakedefine HAVE_SOLARIS
|
|
|
|
|
2011-06-23 02:29:13 +00:00
|
|
|
/* Define if we have the SndIO backend */
|
|
|
|
#cmakedefine HAVE_SNDIO
|
|
|
|
|
2013-03-14 08:29:20 +00:00
|
|
|
/* Define if we have the QSA backend */
|
|
|
|
#cmakedefine HAVE_QSA
|
|
|
|
|
2011-05-16 03:26:25 +00:00
|
|
|
/* Define if we have the MMDevApi backend */
|
|
|
|
#cmakedefine HAVE_MMDEVAPI
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
/* Define if we have the DSound backend */
|
|
|
|
#cmakedefine HAVE_DSOUND
|
|
|
|
|
|
|
|
/* Define if we have the Windows Multimedia backend */
|
|
|
|
#cmakedefine HAVE_WINMM
|
|
|
|
|
2009-03-10 07:55:29 +00:00
|
|
|
/* Define if we have the PortAudio backend */
|
|
|
|
#cmakedefine HAVE_PORTAUDIO
|
|
|
|
|
2009-04-16 12:17:42 +00:00
|
|
|
/* Define if we have the PulseAudio backend */
|
|
|
|
#cmakedefine HAVE_PULSEAUDIO
|
|
|
|
|
2011-03-15 11:58:56 +00:00
|
|
|
/* Define if we have the CoreAudio backend */
|
|
|
|
#cmakedefine HAVE_COREAUDIO
|
|
|
|
|
2011-06-12 11:41:42 +00:00
|
|
|
/* Define if we have the OpenSL backend */
|
|
|
|
#cmakedefine HAVE_OPENSL
|
|
|
|
|
2010-06-08 09:01:11 +00:00
|
|
|
/* Define if we have the Wave Writer backend */
|
|
|
|
#cmakedefine HAVE_WAVE
|
|
|
|
|
2010-01-09 14:40:50 +00:00
|
|
|
/* Define if we have the stat function */
|
|
|
|
#cmakedefine HAVE_STAT
|
|
|
|
|
2012-09-28 11:20:55 +00:00
|
|
|
/* Define if we have the lrintf function */
|
|
|
|
#cmakedefine HAVE_LRINTF
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
/* Define if we have the strtof function */
|
|
|
|
#cmakedefine HAVE_STRTOF
|
|
|
|
|
|
|
|
/* Define if we have the __int64 type */
|
|
|
|
#cmakedefine HAVE___INT64
|
|
|
|
|
|
|
|
/* Define to the size of a long int type */
|
|
|
|
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
|
|
|
|
|
|
|
|
/* Define to the size of a long long int type */
|
|
|
|
#cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
|
|
|
|
|
2014-03-26 01:16:03 +00:00
|
|
|
/* Define if we have C99 variable-length array support */
|
|
|
|
#cmakedefine HAVE_C99_VLA
|
|
|
|
|
2014-05-07 06:10:50 +00:00
|
|
|
/* Define if we have C99 _Bool support */
|
|
|
|
#cmakedefine HAVE_C99_BOOL
|
|
|
|
|
2014-04-07 18:48:28 +00:00
|
|
|
/* Define if we have C11 _Static_assert support */
|
|
|
|
#cmakedefine HAVE_C11_STATIC_ASSERT
|
|
|
|
|
2014-04-19 09:11:04 +00:00
|
|
|
/* Define if we have C11 _Alignas support */
|
|
|
|
#cmakedefine HAVE_C11_ALIGNAS
|
|
|
|
|
2014-07-23 13:36:34 +00:00
|
|
|
/* Define if we have C11 _Atomic support */
|
|
|
|
#cmakedefine HAVE_C11_ATOMIC
|
|
|
|
|
2007-11-16 09:27:02 +00:00
|
|
|
/* Define if we have GCC's destructor attribute */
|
|
|
|
#cmakedefine HAVE_GCC_DESTRUCTOR
|
|
|
|
|
2010-01-12 16:48:25 +00:00
|
|
|
/* Define if we have GCC's format attribute */
|
|
|
|
#cmakedefine HAVE_GCC_FORMAT
|
|
|
|
|
2012-10-07 04:30:03 +00:00
|
|
|
/* Define if we have stdint.h */
|
|
|
|
#cmakedefine HAVE_STDINT_H
|
|
|
|
|
2014-05-07 06:10:50 +00:00
|
|
|
/* Define if we have stdbool.h */
|
|
|
|
#cmakedefine HAVE_STDBOOL_H
|
|
|
|
|
2014-04-19 09:11:04 +00:00
|
|
|
/* Define if we have stdalign.h */
|
|
|
|
#cmakedefine HAVE_STDALIGN_H
|
|
|
|
|
2012-10-07 04:30:03 +00:00
|
|
|
/* Define if we have windows.h */
|
|
|
|
#cmakedefine HAVE_WINDOWS_H
|
|
|
|
|
|
|
|
/* Define if we have dlfcn.h */
|
|
|
|
#cmakedefine HAVE_DLFCN_H
|
|
|
|
|
2008-05-16 04:35:51 +00:00
|
|
|
/* Define if we have pthread_np.h */
|
|
|
|
#cmakedefine HAVE_PTHREAD_NP_H
|
|
|
|
|
2014-03-28 05:21:02 +00:00
|
|
|
/* Define if we have alloca.h */
|
|
|
|
#cmakedefine HAVE_ALLOCA_H
|
|
|
|
|
2012-11-26 03:20:35 +00:00
|
|
|
/* Define if we have malloc.h */
|
|
|
|
#cmakedefine HAVE_MALLOC_H
|
|
|
|
|
2014-03-28 05:21:02 +00:00
|
|
|
/* Define if we have ftw.h */
|
|
|
|
#cmakedefine HAVE_FTW_H
|
|
|
|
|
|
|
|
/* Define if we have io.h */
|
|
|
|
#cmakedefine HAVE_IO_H
|
2014-03-04 04:02:15 +00:00
|
|
|
|
2013-11-05 21:07:46 +00:00
|
|
|
/* Define if we have strings.h */
|
|
|
|
#cmakedefine HAVE_STRINGS_H
|
|
|
|
|
2012-08-13 15:53:36 +00:00
|
|
|
/* Define if we have cpuid.h */
|
|
|
|
#cmakedefine HAVE_CPUID_H
|
|
|
|
|
2014-01-19 03:16:46 +00:00
|
|
|
/* Define if we have sys/sysconf.h */
|
|
|
|
#cmakedefine HAVE_SYS_SYSCONF_H
|
|
|
|
|
2011-05-22 20:29:32 +00:00
|
|
|
/* Define if we have guiddef.h */
|
|
|
|
#cmakedefine HAVE_GUIDDEF_H
|
|
|
|
|
2012-09-17 14:48:57 +00:00
|
|
|
/* Define if we have initguid.h */
|
2011-05-22 20:29:32 +00:00
|
|
|
#cmakedefine HAVE_INITGUID_H
|
|
|
|
|
2011-07-23 11:06:29 +00:00
|
|
|
/* Define if we have ieeefp.h */
|
|
|
|
#cmakedefine HAVE_IEEEFP_H
|
|
|
|
|
2008-10-14 16:47:32 +00:00
|
|
|
/* Define if we have float.h */
|
|
|
|
#cmakedefine HAVE_FLOAT_H
|
|
|
|
|
2008-08-08 15:12:41 +00:00
|
|
|
/* Define if we have fenv.h */
|
|
|
|
#cmakedefine HAVE_FENV_H
|
|
|
|
|
2014-08-11 20:38:43 +00:00
|
|
|
/* Define if we have GCC's __get_cpuid() */
|
|
|
|
#cmakedefine HAVE_GCC_GET_CPUID
|
|
|
|
|
2008-08-08 15:12:41 +00:00
|
|
|
/* Define if we have _controlfp() */
|
|
|
|
#cmakedefine HAVE__CONTROLFP
|
|
|
|
|
2012-09-16 08:44:45 +00:00
|
|
|
/* Define if we have __control87_2() */
|
|
|
|
#cmakedefine HAVE___CONTROL87_2
|
|
|
|
|
2014-03-28 05:21:02 +00:00
|
|
|
/* Define if we have ftw() */
|
|
|
|
#cmakedefine HAVE_FTW
|
|
|
|
|
|
|
|
/* Define if we have _wfindfirst() */
|
|
|
|
#cmakedefine HAVE__WFINDFIRST
|
|
|
|
|
2009-11-30 06:44:56 +00:00
|
|
|
/* Define if we have pthread_setschedparam() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
|
2013-10-26 19:39:19 +00:00
|
|
|
|
|
|
|
/* Define if we have pthread_setname_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SETNAME_NP
|
|
|
|
|
|
|
|
/* Define if we have pthread_set_name_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SET_NAME_NP
|
2014-04-18 02:01:12 +00:00
|
|
|
|
|
|
|
/* Define if we have pthread_mutexattr_setkind_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
|
2014-05-01 21:15:31 +00:00
|
|
|
|
|
|
|
/* Define if we have pthread_mutex_timedlock() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK
|