its __cplusplus not _cplusplus

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11501 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-01-27 03:07:20 +00:00
parent ce11c29553
commit 3b35273b30
4 changed files with 16 additions and 16 deletions

View File

@ -36,9 +36,9 @@
#include <stdarg.h>
#ifdef _cplusplus
#ifdef __cplusplus
extern "C" {
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1)
#define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x))
@ -341,9 +341,9 @@ ESL_DECLARE(esl_status_t) esl_events(esl_handle_t *handle, esl_event_type_t etyp
#define esl_recv_timed(_h, _ms) esl_recv_event_timed(_h, _ms, NULL)
#ifdef _cplusplus
#ifdef __cplusplus
}
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#endif /* defined(_ESL_H_) */

View File

@ -54,9 +54,9 @@
#include "esl.h"
#ifdef _cplusplus
#ifdef __cplusplus
extern "C" {
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#define ESL_URL_SEPARATOR "://"
@ -160,9 +160,9 @@ ESL_DECLARE(int) esl_config_get_cas_bits(char *strvalue, unsigned char *outbits)
/** @} */
#ifdef _cplusplus
#ifdef __cplusplus
}
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#endif /* defined(ESL_CONFIG_H) */

View File

@ -36,9 +36,9 @@
#include <esl.h>
#ifdef _cplusplus
#ifdef __cplusplus
extern "C" {
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
typedef enum {
ESL_STACK_BOTTOM,
@ -272,9 +272,9 @@ ESL_DECLARE(const char *)esl_priority_name(esl_priority_t priority);
///\}
#ifdef _cplusplus
#ifdef __cplusplus
}
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#endif /* defined(ESL_EVENT_H) */

View File

@ -23,9 +23,9 @@
#include "esl.h"
#ifdef _cplusplus
#ifdef __cplusplus
extern "C" {
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
typedef struct esl_mutex esl_mutex_t;
typedef struct esl_thread esl_thread_t;
@ -40,9 +40,9 @@ ESL_DECLARE(esl_status_t) esl_mutex_lock(esl_mutex_t *mutex);
ESL_DECLARE(esl_status_t) esl_mutex_trylock(esl_mutex_t *mutex);
ESL_DECLARE(esl_status_t) esl_mutex_unlock(esl_mutex_t *mutex);
#ifdef _cplusplus
#ifdef __cplusplus
}
#endif /* defined(_cplusplus) */
#endif /* defined(__cplusplus) */
#endif /* defined(_ESL_THREADMUTEX_H) */