mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user