fix build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12572 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-11 20:25:21 +00:00
parent 6fca250bf5
commit a19f43af5b
1 changed files with 3 additions and 1 deletions

View File

@ -31,9 +31,11 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#define EXTERN_C extern "C" {
#ifndef _ESL_OOP_H_ #ifndef _ESL_OOP_H_
#define _ESL_OOP_H_ #define _ESL_OOP_H_
#ifndef EXTERN_C
#define EXTERN_C extern "C" {
#endif
#include <esl.h> #include <esl.h>
#ifdef __cplusplus #ifdef __cplusplus
EXTERN_C EXTERN_C