diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-04-20 20:34:10 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-04-20 20:34:10 +0200 |
commit | f3d6e46ce3762b6f51a166119d3982fd3715507a (patch) | |
tree | 0935fb6da7f1d9728b42ddf08395a0e977e1c228 /src/gb18030.c | |
parent | 043fff5b6f2461aeccb1c62cb771826cfe301832 (diff) | |
parent | 73c6133c32cddae59813cbadf655cb50a3a7356a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/gb18030.c')
-rw-r--r-- | src/gb18030.c | 14 |
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 { |