summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
blob: 171a2aec59fbdf453109d9852a39ac3ad7fd923a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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(