X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=miscutil.h;h=21f3c166f309b4a462e9f30bc145b79cb2e8d06e;hp=8135d73b5fdc681a768bff5a58d6e94f7f83d12b;hb=c5c165e95d33f316bc3d9334101b81aefb54d30b;hpb=1cf7072cd97bdc523178e621f9f2bc1674ea62a8 diff --git a/miscutil.h b/miscutil.h index 8135d73b..21f3c166 100644 --- a/miscutil.h +++ b/miscutil.h @@ -1,6 +1,6 @@ #ifndef MISCUTIL_H_INCLUDED #define MISCUTIL_H_INCLUDED -#define MISCUTIL_H_VERSION "$Id: miscutil.h,v 1.25 2007/01/18 15:03:20 fabiankeil Exp $" +#define MISCUTIL_H_VERSION "$Id: miscutil.h,v 1.26 2007/04/08 17:04:51 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/miscutil.h,v $ @@ -37,6 +37,9 @@ * * Revisions : * $Log: miscutil.h,v $ + * Revision 1.26 2007/04/08 17:04:51 fabiankeil + * Add macro for strlcpy() in case the libc lacks it. + * * Revision 1.25 2007/01/18 15:03:20 fabiankeil * Don't include replacement timegm() if * putenv() or tzset() isn't available. @@ -202,9 +205,9 @@ long int pick_from_range(long int range); extern char *strdup(const char *s); #endif /* def __MINGW32__ */ -#ifdef __OS2__ +#ifndef HAVE_SNPRINTF extern int snprintf(char *, size_t, const char *, /*args*/ ...); -#endif /* def __OS2__ */ +#endif /* ndef HAVE_SNPRINTF */ #if !defined(HAVE_TIMEGM) && defined(HAVE_TZSET) && defined(HAVE_PUTENV) time_t timegm(struct tm *tm);