X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fcommon.h;h=37f8f4be340f65ff7f956f20e1a63f65629e9489;hb=eaeb9cdc97f84be6ac910c555686742b7942cc53;hp=f8e4de5884d0e100cfd54009f320a61a537ebfdd;hpb=05d17349f084f7e26a36a974af42439edda837d3;p=srvx.git diff --git a/src/common.h b/src/common.h index f8e4de5..37f8f4b 100644 --- a/src/common.h +++ b/src/common.h @@ -24,12 +24,6 @@ #include "compat.h" #include "proto.h" -#if !defined(HAVE_LOCALTIME_R) && !defined(__CYGWIN__) -extern struct tm *localtime_r(const time_t *clock, struct tm *res); -#elif defined(__CYGWIN__) -# define localtime_r(clock, res) memcpy(res, localtime(clock), sizeof(struct tm)); -#endif - #ifndef true #define true 1 #endif