X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarchash.c;h=ea25f6f625aeb31ed56f29309842ea70ae17ef09;hb=9ec24f94f5b741ec7928b411dbf21eabdc99d73c;hp=7cebcd761e580dfdcde51810a74bfb08cdd3c902;hpb=2768b3680980f0352acbb4d901c207238e8e5696;p=pazpar2-moved-to-github.git diff --git a/src/marchash.c b/src/marchash.c index 7cebcd7..ea25f6f 100644 --- a/src/marchash.c +++ b/src/marchash.c @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2009 Index Data + Copyright (C) 2006-2010 Index Data Pazpar2 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 @@ -23,6 +23,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if HAVE_CONFIG_H #include +#else +/* disable inline if AC_C_INLINE is not in use (Windows) */ +#define inline #endif #include @@ -35,7 +38,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include "jenkins_hash.h" -#include +#include "marchash.h" static inline void strtrimcat(char *dest, const char *src) {