# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
+#ifndef TIME_T_MAX
+# if SIZEOF_TIME_T == 8
+# define TIME_T_MAX LLONG_MAX
+# else
+# define TIME_T_MAX INT_MAX
+# endif
+#endif
+
/*
* Macros for operating on struct timeval.
*/
debug_return_bool(true);
}
-#ifndef TIME_T_MAX
-# if SIZEOF_TIME_T == 8
-# define TIME_T_MAX LLONG_MAX
-# else
-# define TIME_T_MAX INT_MAX
-# endif
-#endif
-
static bool
store_timespec(const char *str, union sudo_defs_val *sd_un)
{
#include "sudo_util.h"
#include "iolog_util.h"
-#ifndef TIME_T_MAX
-# if SIZEOF_TIME_T == 8
-# define TIME_T_MAX LLONG_MAX
-# else
-# define TIME_T_MAX INT_MAX
-# endif
-#endif
-
static int timing_idx_adj;
struct log_info *
#include "sudo_fatal.h"
#include "check.h"
-#ifndef TIME_T_MAX
-# if SIZEOF_TIME_T == 8
-# define TIME_T_MAX LLONG_MAX
-# else
-# define TIME_T_MAX INT_MAX
-# endif
-#endif
-
__dso_public int main(int argc, char *argv[]);
#ifdef __linux__