commit | 5d954d1c4f25447f70d949e31afeeefb70c2a8d5 | [log] [tgz] |
---|---|---|
author | Adrian Johnson <ajohnson@redneon.com> | Sun Oct 01 12:53:38 2017 +1030 |
committer | Adrian Johnson <ajohnson@redneon.com> | Sat Oct 21 21:02:25 2017 +1030 |
tree | 0758e1cd051f4b27479b8e370d6e3e5fd1ffb6bb | |
parent | 8ccc9efb6c5f717b8cd206a92f802c66bc0a69c7 [diff] |
Fix warning: implicit declaration of function ‘localtime_r’ poppler/glib/demo/utils.c:488:20: warning: implicit declaration of function ‘localtime_r’ [-Wimplicit-function-declaration] if (time == 0 || !localtime_r (&time, &t)) return NULL; ^~~~~~~~~~~ The c files also need the -D_DEFAULT_SOURCE feature macro to enable non standard C++11 functons.