summaryrefslogtreecommitdiff
path: root/recipes/icu/files/elif-to-else.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-04-30 21:57:17 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-04-30 21:59:05 +0100
commit0de958f8a3f363b79f7e3096663ff2ef37fe207f (patch)
treec495212ebf19432cce3a0b2217104063c50c9aea /recipes/icu/files/elif-to-else.patch
parentc7ca3bf3effbfde8a6fd415916122e6dd01acf2c (diff)
icu/icu-3.6.inc : fix bad #elif that more modern compilers dont accept.
Diffstat (limited to 'recipes/icu/files/elif-to-else.patch')
-rw-r--r--recipes/icu/files/elif-to-else.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/icu/files/elif-to-else.patch b/recipes/icu/files/elif-to-else.patch
new file mode 100644
index 0000000000..20e38ab400
--- /dev/null
+++ b/recipes/icu/files/elif-to-else.patch
@@ -0,0 +1,13 @@
+Index: source/layoutex/ParagraphLayout.cpp
+===================================================================
+--- source.orig/layoutex/ParagraphLayout.cpp
++++ source/layoutex/ParagraphLayout.cpp
+@@ -798,7 +798,7 @@ le_int32 ParagraphLayout::getLanguageCod
+
+ return nullLanguageCode;
+ }
+-#elif
++#else
+
+ // TODO - dummy implementation for right now...
+ le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)