From: Jaroslav Kysela Date: Tue, 20 Nov 2001 16:14:58 +0000 (+0000) Subject: Added __cplusplus defines X-Git-Tag: android-x86-9.0-r1~2642 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=323a0f441986ccd7d170d42607148aae456fe8d9;p=android-x86%2Fexternal-alsa-lib.git Added __cplusplus defines --- diff --git a/include/global.h b/include/global.h index f4cb2700..070a2de5 100644 --- a/include/global.h +++ b/include/global.h @@ -28,6 +28,10 @@ #ifndef __ALSA_GLOBAL_H_ #define __ALSA_GLOBAL_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * \defgroup Global Global defines and functions * Global defines and functions. @@ -94,4 +98,8 @@ void *snd_async_handler_get_callback_private(snd_async_handler_t *handler); /** \} */ +#ifdef __cplusplus +} +#endif + #endif /* __ALSA_GLOBAL_H */