summaryrefslogtreecommitdiff
path: root/converters/py-cjkcodecs/patches/patch-aa
blob: a2a31db06e1aa031e64de4282e383336131d72c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.1 2004/08/14 17:43:53 kristerw Exp $

--- src/_codecs_iso2022.c.orig	Sat Aug 14 19:37:23 2004
+++ src/_codecs_iso2022.c	Sat Aug 14 19:39:09 2004
@@ -141,7 +141,11 @@
 
 struct iso2022_config {
 	int flags;
+#if defined(__GNUC__) && __GNUC__ <= 2
+	const struct iso2022_designation designations[0];
+#else
 	const struct iso2022_designation designations[]; /* non-ascii desigs */
+#endif
 };
 
 /*-*- iso-2022 codec implementation -*-*/