mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
fix C linkage when using templates issue when building C++ modules in msvc that stems from including some windows header files inside of an extern C block, when building with C++.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2070 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
4ef2d76948
commit
85d442615e
3 files changed
+3
-5
No files matched your search
@@ -39,8 +39,6 @@
|
||||
#ifndef SWITCH_APR_H
|
||||
#define SWITCH_APR_H
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
#include <apr.h>
|
||||
#include <apr_network_io.h>
|
||||
#include <apr_errno.h>
|
||||
@@ -65,6 +63,8 @@ BEGIN_EXTERN_C
|
||||
#include <apr_want.h>
|
||||
#include <apr_env.h>
|
||||
|
||||
BEGIN_EXTERN_C
|
||||
|
||||
/*
|
||||
The pieces of apr we allow ppl to pass around between modules we typedef into our namespace and wrap all the functions
|
||||
any other apr code should be as hidden as possible.
|
||||
|
||||
Reference in new issue
Block a user