X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Frecctrl.c;h=f24395e4f9cbe2a572c51ad96a1662aecbdfdc12;hp=4e286320a609e0b3392411698486d2569f314326;hb=11d386bdb7b6b4a9bba10da749a5770b509c1fbd;hpb=a66b7d79383ae700f3358731eecfe2aafed0e90d diff --git a/index/recctrl.c b/index/recctrl.c index 4e28632..f24395e 100644 --- a/index/recctrl.c +++ b/index/recctrl.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2010 Index Data + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -18,6 +18,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -55,7 +58,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) { struct recTypeClass *rts = 0; -#ifdef IDZEBRA_STATIC_GRS_SGML +#if IDZEBRA_STATIC_GRS_SGML if (1) { extern RecType idzebra_filter_grs_sgml[]; @@ -63,7 +66,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_TEXT +#if IDZEBRA_STATIC_TEXT if (1) { extern RecType idzebra_filter_text[]; @@ -71,7 +74,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_GRS_XML +#if IDZEBRA_STATIC_GRS_XML #if HAVE_EXPAT_H if (1) { @@ -81,7 +84,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) #endif #endif -#ifdef IDZEBRA_STATIC_GRS_REGX +#if IDZEBRA_STATIC_GRS_REGX if (1) { extern RecType idzebra_filter_grs_regx[]; @@ -89,7 +92,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_GRS_MARC +#if IDZEBRA_STATIC_GRS_MARC if (1) { extern RecType idzebra_filter_grs_marc[]; @@ -97,7 +100,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_SAFARI +#if IDZEBRA_STATIC_SAFARI if (1) { extern RecType idzebra_filter_safari[]; @@ -105,7 +108,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_ALVIS +#if IDZEBRA_STATIC_ALVIS if (1) { extern RecType idzebra_filter_alvis[]; @@ -113,7 +116,7 @@ RecTypeClass recTypeClass_create (Res res, NMEM nmem) } #endif -#ifdef IDZEBRA_STATIC_DOM +#if IDZEBRA_STATIC_DOM if (1) { extern RecType idzebra_filter_dom[];