Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e11a01

Browse files
author
Skip Montanaro
committed
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
time.strptime().
1 parent 7209294 commit 7e11a01

6 files changed

Lines changed: 2 additions & 13 deletions

File tree

PC/os2emx/pyconfig.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,6 @@ typedef long intptr_t;
239239
/* Define if you have the strftime function. */
240240
#define HAVE_STRFTIME 1
241241

242-
/* Define if you have the strptime function. */
243-
#define HAVE_STRPTIME 1
244-
245242
/* Define if you have the tcgetpgrp function. */
246243
#define HAVE_TCGETPGRP 1
247244

PC/os2vacpp/pyconfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ typedef int pid_t;
143143
#define HAVE_FTIME 1 /* We have ftime() in <sys/timeb.h> */
144144
#define HAVE_CLOCK 1 /* clock() */
145145
#define HAVE_STRFTIME 1 /* strftime() */
146-
#define HAVE_STRPTIME 1 /* strptime() */
147146
#define HAVE_MKTIME 1 /* mktime() */
148147
#define HAVE_TZNAME 1 /* No tm_zone but do have tzname[] */
149148
#define HAVE_TIMES 1 /* #include <sys/times.h> */

RISCOS/pyconfig.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,6 @@
514514
/* Define if you have the strftime function. */
515515
#define HAVE_STRFTIME 1
516516

517-
/* Define if you have the strptime function. */
518-
#undef HAVE_STRPTIME
519-
520517
/* Define if you have the symlink function. */
521518
#undef HAVE_SYMLINK
522519

configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12277,7 +12277,6 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
1227712277

1227812278

1227912279

12280-
1228112280

1228212281

1228312282
for ac_func in alarm chown clock confstr ctermid execv \
@@ -12289,7 +12288,7 @@ for ac_func in alarm chown clock confstr ctermid execv \
1228912288
putenv readlink realpath \
1229012289
select setegid seteuid setgid \
1229112290
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
12292-
sigaction siginterrupt sigrelse strftime strptime \
12291+
sigaction siginterrupt sigrelse strftime \
1229312292
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
1229412293
truncate uname unsetenv utimes waitpid wcscoll _getpty
1229512294
do

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
20122012
putenv readlink realpath \
20132013
select setegid seteuid setgid \
20142014
setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \
2015-
sigaction siginterrupt sigrelse strftime strptime \
2015+
sigaction siginterrupt sigrelse strftime \
20162016
sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
20172017
truncate uname unsetenv utimes waitpid wcscoll _getpty)
20182018

pyconfig.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,6 @@
471471
/* Define to 1 if you have the <stropts.h> header file. */
472472
#undef HAVE_STROPTS_H
473473

474-
/* Define to 1 if you have the `strptime' function. */
475-
#undef HAVE_STRPTIME
476-
477474
/* Define to 1 if `st_blksize' is member of `struct stat'. */
478475
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
479476

0 commit comments

Comments
 (0)