view ext/openal-soft/config.h.in @ 144:d2f1e81fbe2c

* Fixed a scons issue, where libraries checked for C instead of C++ * Fixed a shutdown order problem - deleting a GLImage will reference the RenderBackend, thus image pools must be deleted first. * Added an explicit Engine.destroy method to force the shutdown, in case python fails to do so. Necessary - see above. * The Pool::printStatistics now gives out information how many resources are loaded. Called before destruction. Add 'pool' to the LogModules to check memory pooling issues.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 09 Oct 2008 06:18:36 +0000
parents 7fa2ac496050
children
line wrap: on
line source

#ifndef CONFIG_H
#define CONFIG_H

/* Define if we have the ALSA backend */
#undef HAVE_ALSA_ASOUNDLIB_H
#ifdef HAVE_ALSA_ASOUNDLIB_H
	#define HAVE_ALSA	/// redefine for dont change sources...
#endif

/* Define if we have the OSS backend */
#define HAVE_OSS


/* Define if we have the DSound backend */
#undef HAVE_DSOUND	/// only for windows, dont use

/* Define if we have the Windows Multimedia backend */
#undef HAVE_WINMM	/// only for windows, dont use

/// need in checking separately
/* Define if we have the sqrtf function */
#undef HAVE_LIBM
#ifdef HAVE_LIBM
	#define HAVE_ACOSF
	#define HAVE_SQRTF
#endif

/* Define if we have the strtof function */
#undef HAVE_STRTOF

/* Define if we have stdint.h */
#undef HAVE_STDINT_H

/* Define if we have dlfcn.h */
#undef HAVE_DLFCN_H

/* Define if we have the __int64 type */
#undef HAVE_INT64_T
#ifdef HAVE_INT64_T
	#define HAVE___INT64
#endif

/* Define to the size of a long int type */
#undef SIZEOF_LONG

/* Define to the size of a long long int type */
#undef SIZEOF_LONG_LONG

/* Define to the size of an unsigned int type */
#undef SIZEOF_UINT

/* Define to the size of a void pointer type */
#undef SIZEOF_VOID_P

#define SIZEOF_VOIDP SIZEOF_VOID_P	/// autoconf create VOID_P, but cmake needed VOIDP, we refefined this for dont change source

/* Define if we have GCC's destructor attribute */
#undef HAVE_GCC_DESTRUCTOR

#endif