Skip to content

Commit

Permalink
Undefine HAVE_*_R, so that we get our replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Apr 16, 2000
1 parent 1b7bfe5 commit 93135c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main/php_reentrancy.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
#define HAVE_CTIME 1


#ifdef PHP_HPUX_TIME_R
#undef HAVE_LOCALTIME_R
#undef HAVE_ASCTIME_R
#undef HAVE_CTIME_R
#undef HAVE_GMTIME_R
#endif

#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
#define PHP_NEED_REENTRANCY 1
#define localtime_r php_localtime_r
Expand Down

0 comments on commit 93135c8

Please sign in to comment.