[gnome-applets] multiload: define HAVE_SYS_TIME_H



commit 912eaaf055a10dc4106f14f299df07e3e30585f7
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Oct 2 14:22:01 2022 +0300

    multiload: define HAVE_SYS_TIME_H
    
    https://gitlab.gnome.org/GNOME/libgtop/-/merge_requests/34

 configure.ac                        | 6 ------
 gnome-applets/multiload/Makefile.am | 2 ++
 2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4821e5bad..4bd7e46c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,12 +56,6 @@ dnl **************************************************************************
 LT_INIT([dlopen disable-static])
 LT_LIB_M
 
-dnl **************************************************************************
-dnl libgtop uses TIME_WITH_SYS_TIME in global.h
-dnl **************************************************************************
-
-AC_DEFINE([TIME_WITH_SYS_TIME], [1], [Define to 1 for libgtop])
-
 dnl ***************************************************************************
 dnl *** Minimum library versions for GNOME Applets                          ***
 dnl ***************************************************************************
diff --git a/gnome-applets/multiload/Makefile.am b/gnome-applets/multiload/Makefile.am
index da7cbd243..730394734 100644
--- a/gnome-applets/multiload/Makefile.am
+++ b/gnome-applets/multiload/Makefile.am
@@ -7,6 +7,8 @@ libmultiload_applet_la_CPPFLAGS = \
        -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.multiload\" \
        -DG_LOG_USE_STRUCTURED=1 \
+       -DTIME_WITH_SYS_TIME=1 \
+       -DHAVE_SYS_TIME_H=1 \
        $(NULL)
 
 libmultiload_applet_la_CFLAGS = \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]