projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor if stmt a bit
[idzebra-moved-to-github.git]
/
index
/
mod_grs_sgml.c
diff --git
a/index/mod_grs_sgml.c
b/index/mod_grs_sgml.c
index
d9570e6
..
82d719d
100644
(file)
--- a/
index/mod_grs_sgml.c
+++ b/
index/mod_grs_sgml.c
@@
-18,6
+18,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <yaz/log.h>
@@
-123,7
+126,7
@@
static struct recType grs_type_sgml =
};
RecType
-#ifdef IDZEBRA_STATIC_GRS_SGML
+#if IDZEBRA_STATIC_GRS_SGML
idzebra_filter_grs_sgml
#else
idzebra_filter