fix build failures

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12573 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-03-11 20:51:44 +00:00
parent a19f43af5b
commit 1f5c7b208c
4 changed files with 6 additions and 8 deletions

View File

@@ -33,12 +33,9 @@
#ifndef _ESL_OOP_H_
#define _ESL_OOP_H_
#ifndef EXTERN_C
#define EXTERN_C extern "C" {
#endif
#include <esl.h>
#ifdef __cplusplus
EXTERN_C
extern "C" {
#endif
#define this_check(x) do { if (!this) { esl_log(ESL_LOG_ERROR, "object is not initalized\n"); return x;}} while(0)