summaryrefslogtreecommitdiff
path: root/src/gb18030.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-04-20 20:33:51 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-04-20 20:33:51 +0200
commit6b986090d954dbac91bbb3c43ce7c3328c91a780 (patch)
tree34b34e41a3f7b7f4794c75be4482bb14695f36a9 /src/gb18030.c
parent4216de6a3336cbc6dddb572cb7e6ab6193bf3729 (diff)
New upstream version 6.9.5upstream/6.9.5
Diffstat (limited to 'src/gb18030.c')
-rw-r--r--src/gb18030.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gb18030.c b/src/gb18030.c
index 50898eb..1385a7f 100644
--- a/src/gb18030.c
+++ b/src/gb18030.c
@@ -2,7 +2,7 @@
gb18030.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
- * Copyright (c) 2005-2019 KUBO Takehiro <kubo AT jiubao DOT org>
+ * Copyright (c) 2005-2020 KUBO Takehiro <kubo AT jiubao DOT org>
* K.Kosako
* All rights reserved.
*
@@ -31,10 +31,20 @@
#include "regenc.h"
#if 1
+
#define DEBUG_GB18030(arg)
+
#else
-#include <stdio.h>
+
+#ifndef NEED_TO_INCLUDE_STDIO
+#define NEED_TO_INCLUDE_STDIO
+#endif
+
+/* for printf() */
+#include "regint.h"
+
#define DEBUG_GB18030(arg) printf arg
+
#endif
enum {