If gmtime_r is defined as a macro, undef it

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18834 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff
2010-03-05 17:55:01 +00:00
parent 8a66cc528b
commit be4fce5ed5

View File

@@ -29,6 +29,10 @@
#if HAVE_PTHREAD_MUTEX_INIT
#include <pthread.h>
#ifdef gmtime_r
#undef gmtime_r
#endif
struct tm *
gmtime_r(const time_t *const timep, struct tm *p_tm)
{