Skip to content
Snippets Groups Projects
Commit 2b8e0f21 authored by Alberto Massari's avatar Alberto Massari
Browse files

MSVC complains if the perl headers are inside an 'extern C' block

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@465252 13f79535-47bb-0310-9956-ffa450edef68
parent ff2d6602
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,6 @@
#ifndef __TRANSCODER
#define __TRANSCODER
/* Needed on some windows machines---since MS plays funny
games with the header files under C++ */
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
......@@ -29,9 +25,6 @@ extern "C" {
#undef free
#undef malloc
}
#include "xercesc/util/TransService.hpp"
#include "xercesc/util/PlatformUtils.hpp"
......
......@@ -17,10 +17,6 @@
#ifndef __XMLEXCEPTIONHANDLER
#define __XMLEXCEPTIONHANDLER
/* Needed on some windows machines---since MS plays funny
games with the header files under C++ */
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
......@@ -29,8 +25,6 @@ extern "C" {
#undef free
#undef malloc
}
#include "xercesc/util/ArrayIndexOutOfBoundsException.hpp"
#include "xercesc/util/EmptyStackException.hpp"
#include "xercesc/util/IllegalArgumentException.hpp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment