diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-04 21:35:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-04 21:35:24 +0300 |
commit | 72d19ead542f6cf59847c4605de68471f8f978a8 (patch) | |
tree | 974d0bc3feaf7164be683a3b72548a74ea14c7ac /libs/Pcre16 | |
parent | 577f845a0352522d256cbf51ace9b2e6769238f0 (diff) |
no need to patch pcre either
Diffstat (limited to 'libs/Pcre16')
-rw-r--r-- | libs/Pcre16/pcre16.vcxproj | 2 | ||||
-rw-r--r-- | libs/Pcre16/src/pcre.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/Pcre16/pcre16.vcxproj b/libs/Pcre16/pcre16.vcxproj index 874c54bdab..92c4675104 100644 --- a/libs/Pcre16/pcre16.vcxproj +++ b/libs/Pcre16/pcre16.vcxproj @@ -97,7 +97,7 @@ <ItemDefinitionGroup>
<ClCompile>
<DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PreprocessorDefinitions>HAVE_CONFIG_H;COMPILE_PCRE16;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>HAVE_CONFIG_H;PCRE_UCHAR16=wchar_t;COMPILE_PCRE16;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
\ No newline at end of file diff --git a/libs/Pcre16/src/pcre.h b/libs/Pcre16/src/pcre.h index c4576f32c8..bee1fe6ffd 100644 --- a/libs/Pcre16/src/pcre.h +++ b/libs/Pcre16/src/pcre.h @@ -343,7 +343,7 @@ typedef struct real_pcre32_jit_stack pcre32_jit_stack; a 16 bit wide signed data type. Otherwise it can be a dummy data type since pcre16 functions are not implemented. There is a check for this in pcre_internal.h. */ #ifndef PCRE_UCHAR16 -#define PCRE_UCHAR16 wchar_t +#define PCRE_UCHAR16 unsigned short #endif #ifndef PCRE_SPTR16 |