mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Include config.h to get HAVE_LOCALTIME_R macro.
1999-01-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdate.c: Include config.h to get HAVE_LOCALTIME_R macro. * configure.in: Moved function check back to the place, they've been before.
This commit is contained in:
parent
b4c62873da
commit
90546ebdc1
@ -247,7 +247,7 @@ AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H))
|
|||||||
AC_CHECK_HEADERS(values.h, AC_DEFINE(HAVE_VALUES_H))
|
AC_CHECK_HEADERS(values.h, AC_DEFINE(HAVE_VALUES_H))
|
||||||
|
|
||||||
# Check for some functions
|
# Check for some functions
|
||||||
AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
|
AC_CHECK_FUNCS(localtime_r rand_r lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll)
|
||||||
|
|
||||||
# Check for sys_errlist
|
# Check for sys_errlist
|
||||||
AC_MSG_CHECKING(for sys_errlist)
|
AC_MSG_CHECKING(for sys_errlist)
|
||||||
@ -706,8 +706,6 @@ AC_SUBST(G_THREAD_LIBS)
|
|||||||
|
|
||||||
CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
|
CFLAGS="$CFLAGS $G_THREAD_CFLAGS"
|
||||||
|
|
||||||
AC_CHECK_FUNCS(localtime_r rand_r)
|
|
||||||
|
|
||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
dnl *** GDefaultMutex setup and initialization ***
|
dnl *** GDefaultMutex setup and initialization ***
|
||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
|
4
gdate.c
4
gdate.c
@ -21,6 +21,10 @@
|
|||||||
* MT safe
|
* MT safe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "glib.h"
|
#include "glib.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -21,6 +21,10 @@
|
|||||||
* MT safe
|
* MT safe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "glib.h"
|
#include "glib.h"
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user