plugin/pcre: Now building as C

git-svn-id: svn://ultimatepp.org/upp/trunk@12878 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-03-22 16:01:57 +00:00
parent 46da051e19
commit df3fc03ce6
2 changed files with 13 additions and 7 deletions

View file

@ -1,7 +1,3 @@
#include <Core/Core.h>
using namespace Upp;
#define SUPPORT_UTF
#define SUPPORT_UTF8 //is needed anymore?
#define SUPPORT_UCP
@ -11,13 +7,23 @@ using namespace Upp;
////#define HAVE_INTTYPES_H 0
//#undef HAVE_STDINT_H
//#undef HAVE_INTTYPES_H
#define int64_t int64
#ifdef _MSC_VER
typedef __int64 int64;
typedef unsigned __int64 uint64;
#else
typedef long long int int64;
typedef long long unsigned uint64;
#ifdef COMPILER_GCC
#define PCRE_STATIC
#endif
#define int64_t int64
#include "lib/pcre_byte_order.c"
#include "lib/pcre_chartables.c"
#include "lib/pcre_compile.c"

View file

@ -12,6 +12,6 @@ file
RegExp.h,
RegExp.cpp,
lib/config.h,
lib.cpp,
lib.c,
Copying;