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
|
|
|
|
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}
|
|
|
|
|
2017-02-13 15:36:49 +00:00
|
|
|
/* Define a built-in call indicating an aligned data pointer */
|
|
|
|
#define ASSUME_ALIGNED(x, y) ${ASSUME_ALIGNED_DECL}
|
|
|
|
|
2016-07-12 21:22:17 +00:00
|
|
|
/* Define if HRTF data is embedded in the library */
|
|
|
|
#cmakedefine ALSOFT_EMBED_HRTF_DATA
|
|
|
|
|
2018-01-17 03:24:14 +00:00
|
|
|
/* Define if we have the sysconf function */
|
|
|
|
#cmakedefine HAVE_SYSCONF
|
|
|
|
|
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
|
|
|
|
|
2018-03-24 15:25:58 +00:00
|
|
|
/* Define if we have the proc_pidpath function */
|
|
|
|
#cmakedefine HAVE_PROC_PIDPATH
|
|
|
|
|
2017-08-20 11:30:53 +00:00
|
|
|
/* Define if we have the getopt function */
|
|
|
|
#cmakedefine HAVE_GETOPT
|
|
|
|
|
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
|
2015-10-11 13:38:00 +00:00
|
|
|
#cmakedefine HAVE_SSE3
|
2014-06-04 09:57:13 +00:00
|
|
|
#cmakedefine HAVE_SSE4_1
|
2012-08-15 08:24:50 +00:00
|
|
|
|
|
|
|
/* Define if we have ARM Neon CPU extensions */
|
|
|
|
#cmakedefine HAVE_NEON
|
|
|
|
|
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
|
|
|
|
|
2018-03-10 02:56:24 +00:00
|
|
|
/* Define if we have the WASAPI backend */
|
|
|
|
#cmakedefine HAVE_WASAPI
|
2011-05-16 03:26:25 +00:00
|
|
|
|
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
|
|
|
|
|
2014-12-21 23:51:16 +00:00
|
|
|
/* Define if we have the JACK backend */
|
|
|
|
#cmakedefine HAVE_JACK
|
|
|
|
|
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
|
|
|
|
|
2018-03-07 19:53:56 +00:00
|
|
|
/* Define if we have the SDL2 backend */
|
|
|
|
#cmakedefine HAVE_SDL2
|
|
|
|
|
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
|
|
|
|
|
2015-10-30 08:37:39 +00:00
|
|
|
/* Define if we have the modff function */
|
|
|
|
#cmakedefine HAVE_MODFF
|
|
|
|
|
2017-06-29 17:11:31 +00:00
|
|
|
/* Define if we have the log2f function */
|
|
|
|
#cmakedefine HAVE_LOG2F
|
|
|
|
|
2018-02-06 10:35:08 +00:00
|
|
|
/* Define if we have the cbrtf function */
|
|
|
|
#cmakedefine HAVE_CBRTF
|
|
|
|
|
2018-08-29 10:51:17 +00:00
|
|
|
/* Define if we have the copysignf function */
|
|
|
|
#cmakedefine HAVE_COPYSIGNF
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
/* Define if we have the strtof function */
|
|
|
|
#cmakedefine HAVE_STRTOF
|
|
|
|
|
2016-01-21 10:08:45 +00:00
|
|
|
/* Define if we have the strnlen function */
|
|
|
|
#cmakedefine HAVE_STRNLEN
|
|
|
|
|
2007-11-14 02:02:18 +00: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-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
|
|
|
|
|
2012-11-26 03:20:35 +00:00
|
|
|
/* Define if we have malloc.h */
|
|
|
|
#cmakedefine HAVE_MALLOC_H
|
|
|
|
|
2015-10-04 03:41:18 +00:00
|
|
|
/* Define if we have dirent.h */
|
|
|
|
#cmakedefine HAVE_DIRENT_H
|
2014-03-28 05:21:02 +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-08-11 21:19:15 +00:00
|
|
|
/* Define if we have intrin.h */
|
|
|
|
#cmakedefine HAVE_INTRIN_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
|
|
|
|
|
2014-08-11 21:19:15 +00:00
|
|
|
/* Define if we have the __cpuid() intrinsic */
|
|
|
|
#cmakedefine HAVE_CPUID_INTRINSIC
|
|
|
|
|
2018-01-27 19:11:39 +00:00
|
|
|
/* Define if we have the _BitScanForward64() intrinsic */
|
|
|
|
#cmakedefine HAVE_BITSCANFORWARD64_INTRINSIC
|
|
|
|
|
2018-01-27 19:19:59 +00:00
|
|
|
/* Define if we have the _BitScanForward() intrinsic */
|
|
|
|
#cmakedefine HAVE_BITSCANFORWARD_INTRINSIC
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
2016-01-21 10:33:45 +00:00
|
|
|
/* Define if pthread_setname_np() only accepts one parameter */
|
|
|
|
#cmakedefine PTHREAD_SETNAME_NP_ONE_PARAM
|
|
|
|
|
2017-09-16 05:09:37 +00:00
|
|
|
/* Define if pthread_setname_np() accepts three parameters */
|
|
|
|
#cmakedefine PTHREAD_SETNAME_NP_THREE_PARAMS
|
|
|
|
|
2013-10-26 19:39:19 +00:00
|
|
|
/* 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
|