2011-05-17 09:13:55 -07:00
|
|
|
/* API declaration export attribute */
|
|
|
|
#define AL_API ${EXPORT_DECL}
|
|
|
|
#define ALC_API ${EXPORT_DECL}
|
2007-11-13 18:02:18 -08:00
|
|
|
|
2012-10-09 01:46:02 -07:00
|
|
|
/* Define any available alignment declaration */
|
2012-08-15 03:43:36 -07:00
|
|
|
#define ALIGN(x) ${ALIGN_DECL}
|
|
|
|
|
2017-02-13 07:36:49 -08:00
|
|
|
/* Define a built-in call indicating an aligned data pointer */
|
|
|
|
#define ASSUME_ALIGNED(x, y) ${ASSUME_ALIGNED_DECL}
|
|
|
|
|
2016-07-12 14:22:17 -07:00
|
|
|
/* Explicit hidden visibility attribute */
|
|
|
|
#define HIDDEN_DECL ${HIDDEN_DECL}
|
|
|
|
|
|
|
|
/* Define if HRTF data is embedded in the library */
|
|
|
|
#cmakedefine ALSOFT_EMBED_HRTF_DATA
|
|
|
|
|
2012-08-15 05:50:40 -07: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 01:24:50 -07:00
|
|
|
/* Define if we have SSE CPU extensions */
|
|
|
|
#cmakedefine HAVE_SSE
|
2014-06-04 02:57:13 -07:00
|
|
|
#cmakedefine HAVE_SSE2
|
2015-10-11 06:38:00 -07:00
|
|
|
#cmakedefine HAVE_SSE3
|
2014-06-04 02:57:13 -07:00
|
|
|
#cmakedefine HAVE_SSE4_1
|
2012-08-15 01:24:50 -07:00
|
|
|
|
|
|
|
/* Define if we have ARM Neon CPU extensions */
|
|
|
|
#cmakedefine HAVE_NEON
|
|
|
|
|
2007-11-13 18:02:18 -08:00
|
|
|
/* Define if we have the ALSA backend */
|
|
|
|
#cmakedefine HAVE_ALSA
|
|
|
|
|
|
|
|
/* Define if we have the OSS backend */
|
|
|
|
#cmakedefine HAVE_OSS
|
|
|
|
|
2008-09-07 14:34:14 -07:00
|
|
|
/* Define if we have the Solaris backend */
|
|
|
|
#cmakedefine HAVE_SOLARIS
|
|
|
|
|
2011-06-22 19:29:13 -07:00
|
|
|
/* Define if we have the SndIO backend */
|
|
|
|
#cmakedefine HAVE_SNDIO
|
|
|
|
|
2013-03-14 01:29:20 -07:00
|
|
|
/* Define if we have the QSA backend */
|
|
|
|
#cmakedefine HAVE_QSA
|
|
|
|
|
2011-05-15 20:26:25 -07:00
|
|
|
/* Define if we have the MMDevApi backend */
|
|
|
|
#cmakedefine HAVE_MMDEVAPI
|
|
|
|
|
2007-11-13 18:02:18 -08: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 00:55:29 -07:00
|
|
|
/* Define if we have the PortAudio backend */
|
|
|
|
#cmakedefine HAVE_PORTAUDIO
|
|
|
|
|
2009-04-16 05:17:42 -07:00
|
|
|
/* Define if we have the PulseAudio backend */
|
|
|
|
#cmakedefine HAVE_PULSEAUDIO
|
|
|
|
|
2014-12-21 15:51:16 -08:00
|
|
|
/* Define if we have the JACK backend */
|
|
|
|
#cmakedefine HAVE_JACK
|
|
|
|
|
2011-03-15 04:58:56 -07:00
|
|
|
/* Define if we have the CoreAudio backend */
|
|
|
|
#cmakedefine HAVE_COREAUDIO
|
|
|
|
|
2011-06-12 04:41:42 -07:00
|
|
|
/* Define if we have the OpenSL backend */
|
|
|
|
#cmakedefine HAVE_OPENSL
|
|
|
|
|
2010-06-08 02:01:11 -07:00
|
|
|
/* Define if we have the Wave Writer backend */
|
|
|
|
#cmakedefine HAVE_WAVE
|
|
|
|
|
2010-01-09 06:40:50 -08:00
|
|
|
/* Define if we have the stat function */
|
|
|
|
#cmakedefine HAVE_STAT
|
|
|
|
|
2012-09-28 04:20:55 -07:00
|
|
|
/* Define if we have the lrintf function */
|
|
|
|
#cmakedefine HAVE_LRINTF
|
|
|
|
|
2015-10-30 01:37:39 -07:00
|
|
|
/* Define if we have the modff function */
|
|
|
|
#cmakedefine HAVE_MODFF
|
|
|
|
|
2007-11-13 18:02:18 -08:00
|
|
|
/* Define if we have the strtof function */
|
|
|
|
#cmakedefine HAVE_STRTOF
|
|
|
|
|
2016-01-21 02:08:45 -08:00
|
|
|
/* Define if we have the strnlen function */
|
|
|
|
#cmakedefine HAVE_STRNLEN
|
|
|
|
|
2007-11-13 18:02:18 -08:00
|
|
|
/* 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-25 18:16:03 -07:00
|
|
|
/* Define if we have C99 variable-length array support */
|
|
|
|
#cmakedefine HAVE_C99_VLA
|
|
|
|
|
2014-05-06 23:10:50 -07:00
|
|
|
/* Define if we have C99 _Bool support */
|
|
|
|
#cmakedefine HAVE_C99_BOOL
|
|
|
|
|
2014-04-07 11:48:28 -07:00
|
|
|
/* Define if we have C11 _Static_assert support */
|
|
|
|
#cmakedefine HAVE_C11_STATIC_ASSERT
|
|
|
|
|
2014-04-19 02:11:04 -07:00
|
|
|
/* Define if we have C11 _Alignas support */
|
|
|
|
#cmakedefine HAVE_C11_ALIGNAS
|
|
|
|
|
2014-07-23 06:36:34 -07:00
|
|
|
/* Define if we have C11 _Atomic support */
|
|
|
|
#cmakedefine HAVE_C11_ATOMIC
|
|
|
|
|
2007-11-16 01:27:02 -08:00
|
|
|
/* Define if we have GCC's destructor attribute */
|
|
|
|
#cmakedefine HAVE_GCC_DESTRUCTOR
|
|
|
|
|
2010-01-12 08:48:25 -08:00
|
|
|
/* Define if we have GCC's format attribute */
|
|
|
|
#cmakedefine HAVE_GCC_FORMAT
|
|
|
|
|
2012-10-06 21:30:03 -07:00
|
|
|
/* Define if we have stdint.h */
|
|
|
|
#cmakedefine HAVE_STDINT_H
|
|
|
|
|
2014-05-06 23:10:50 -07:00
|
|
|
/* Define if we have stdbool.h */
|
|
|
|
#cmakedefine HAVE_STDBOOL_H
|
|
|
|
|
2014-04-19 02:11:04 -07:00
|
|
|
/* Define if we have stdalign.h */
|
|
|
|
#cmakedefine HAVE_STDALIGN_H
|
|
|
|
|
2012-10-06 21:30:03 -07:00
|
|
|
/* Define if we have windows.h */
|
|
|
|
#cmakedefine HAVE_WINDOWS_H
|
|
|
|
|
|
|
|
/* Define if we have dlfcn.h */
|
|
|
|
#cmakedefine HAVE_DLFCN_H
|
|
|
|
|
2008-05-15 21:35:51 -07:00
|
|
|
/* Define if we have pthread_np.h */
|
|
|
|
#cmakedefine HAVE_PTHREAD_NP_H
|
|
|
|
|
2014-03-27 22:21:02 -07:00
|
|
|
/* Define if we have alloca.h */
|
|
|
|
#cmakedefine HAVE_ALLOCA_H
|
|
|
|
|
2012-11-25 19:20:35 -08:00
|
|
|
/* Define if we have malloc.h */
|
|
|
|
#cmakedefine HAVE_MALLOC_H
|
|
|
|
|
2015-10-03 20:41:18 -07:00
|
|
|
/* Define if we have dirent.h */
|
|
|
|
#cmakedefine HAVE_DIRENT_H
|
2014-03-27 22:21:02 -07:00
|
|
|
|
2013-11-05 13:07:46 -08:00
|
|
|
/* Define if we have strings.h */
|
|
|
|
#cmakedefine HAVE_STRINGS_H
|
|
|
|
|
2012-08-13 08:53:36 -07:00
|
|
|
/* Define if we have cpuid.h */
|
|
|
|
#cmakedefine HAVE_CPUID_H
|
|
|
|
|
2014-08-11 14:19:15 -07:00
|
|
|
/* Define if we have intrin.h */
|
|
|
|
#cmakedefine HAVE_INTRIN_H
|
|
|
|
|
2014-01-18 19:16:46 -08:00
|
|
|
/* Define if we have sys/sysconf.h */
|
|
|
|
#cmakedefine HAVE_SYS_SYSCONF_H
|
|
|
|
|
2011-05-22 13:29:32 -07:00
|
|
|
/* Define if we have guiddef.h */
|
|
|
|
#cmakedefine HAVE_GUIDDEF_H
|
|
|
|
|
2012-09-17 07:48:57 -07:00
|
|
|
/* Define if we have initguid.h */
|
2011-05-22 13:29:32 -07:00
|
|
|
#cmakedefine HAVE_INITGUID_H
|
|
|
|
|
2011-07-23 04:06:29 -07:00
|
|
|
/* Define if we have ieeefp.h */
|
|
|
|
#cmakedefine HAVE_IEEEFP_H
|
|
|
|
|
2008-10-14 09:47:32 -07:00
|
|
|
/* Define if we have float.h */
|
|
|
|
#cmakedefine HAVE_FLOAT_H
|
|
|
|
|
2008-08-08 08:12:41 -07:00
|
|
|
/* Define if we have fenv.h */
|
|
|
|
#cmakedefine HAVE_FENV_H
|
|
|
|
|
2014-08-11 13:38:43 -07:00
|
|
|
/* Define if we have GCC's __get_cpuid() */
|
|
|
|
#cmakedefine HAVE_GCC_GET_CPUID
|
|
|
|
|
2014-08-11 14:19:15 -07:00
|
|
|
/* Define if we have the __cpuid() intrinsic */
|
|
|
|
#cmakedefine HAVE_CPUID_INTRINSIC
|
|
|
|
|
2008-08-08 08:12:41 -07:00
|
|
|
/* Define if we have _controlfp() */
|
|
|
|
#cmakedefine HAVE__CONTROLFP
|
|
|
|
|
2012-09-16 01:44:45 -07:00
|
|
|
/* Define if we have __control87_2() */
|
|
|
|
#cmakedefine HAVE___CONTROL87_2
|
|
|
|
|
2009-11-29 22:44:56 -08:00
|
|
|
/* Define if we have pthread_setschedparam() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
|
2013-10-26 12:39:19 -07:00
|
|
|
|
|
|
|
/* Define if we have pthread_setname_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SETNAME_NP
|
|
|
|
|
2016-01-21 02:33:45 -08:00
|
|
|
/* Define if pthread_setname_np() only accepts one parameter */
|
|
|
|
#cmakedefine PTHREAD_SETNAME_NP_ONE_PARAM
|
|
|
|
|
2013-10-26 12:39:19 -07:00
|
|
|
/* Define if we have pthread_set_name_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_SET_NAME_NP
|
2014-04-17 19:01:12 -07:00
|
|
|
|
|
|
|
/* Define if we have pthread_mutexattr_setkind_np() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
|
2014-05-01 14:15:31 -07:00
|
|
|
|
|
|
|
/* Define if we have pthread_mutex_timedlock() */
|
|
|
|
#cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK
|