# HG changeset patch # User Paul Eggert # Date 875643180 0 # Node ID cb0800f5aa96ebd54262179d24325e63a08aee62 # Parent 09bc233eb0183abd4479e696b8f465544b66dc7b automatically generated from GPLed version diff -r 09bc233eb018 -r cb0800f5aa96 src/strftime.c --- a/src/strftime.c Tue Sep 30 07:36:28 1997 +0000 +++ b/src/strftime.c Tue Sep 30 18:13:00 1997 +0000 @@ -36,6 +36,10 @@ # include "../locale/localeinfo.h" #endif +#if defined emacs && !defined HAVE_BCOPY +# define HAVE_MEMCPY 1 +#endif + #include #include /* Some systems define `time_t' here. */ @@ -140,6 +144,7 @@ # if ! HAVE_LOCALTIME_R # if ! HAVE_TM_GMTOFF /* Approximate gmtime_r as best we can in its absence. */ +# undef gmtime_r # define gmtime_r my_gmtime_r static struct tm *gmtime_r __P ((const time_t *, struct tm *)); static struct tm * @@ -156,6 +161,7 @@ # endif /* ! HAVE_TM_GMTOFF */ /* Approximate localtime_r as best we can in its absence. */ +# undef localtime_r # define localtime_r my_ftime_localtime_r static struct tm *localtime_r __P ((const time_t *, struct tm *)); static struct tm * @@ -329,7 +335,7 @@ #define YDAY_MINIMUM (-366) static int iso_week_days __P ((int, int)); #ifdef __GNUC__ -inline +__inline__ #endif static int iso_week_days (yday, wday)