summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/teckit/TLPATCHES/patch-04-pragmas')
-rw-r--r--Build/source/libs/teckit/TLPATCHES/patch-04-pragmas61
1 files changed, 61 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas b/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
new file mode 100644
index 00000000000..171a2aec59f
--- /dev/null
+++ b/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
@@ -0,0 +1,61 @@
+ Remove the '#pragma's, they seem to cause problems for MSVC
+ and are certainly not needed otherwise.
+
+diff -ur teckit-2.5.6.orig/source/Engine.cpp teckit-2.5.6/source/Engine.cpp
+--- teckit-2.5.6.orig/source/Engine.cpp Tue May 31 05:37:08 2016
++++ teckit-2.5.6/source/Engine.cpp Fri Dec 30 18:18:57 2016
+@@ -102,10 +96,6 @@
+ #endif
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Stage ---
+-#endif
+-
+ Stage::Stage()
+ : oBuffer(0)
+ , oBufSize(0)
+@@ -127,10 +117,6 @@
+ return 0;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Normalizer ---
+-#endif
+-
+ #include "NormalizationData.c"
+
+ Normalizer::Normalizer(bool compose)
+@@ -400,10 +386,6 @@
+ return c;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Pass ---
+-#endif
+-
+ Pass::Pass(const TableHeader* inTable, Converter* cnv)
+ : converter(cnv)
+ , tableHeader(inTable)
+@@ -1288,10 +1270,6 @@
+ return 0;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Converter ---
+-#endif
+-
+ Converter::Converter(const Byte* inTable, UInt32 inTableSize, bool inForward,
+ UInt16 inForm, UInt16 outForm)
+ : table(0)
+@@ -1942,10 +1920,6 @@
+ return true;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- Public "C" API functions ---
+-#endif
+-
+ TECkit_Status
+ WINAPI
+ TECkit_CreateConverter(