mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Changed some autoconf-dependent preprocessor directives from #if to #ifdef.
Because it just results in less typing in CMake when not having to configure a preprocessor definition to a specific value.
This commit is contained in:
parent
a141b52dfa
commit
59aaaf7ed5
7 changed files with 13 additions and 13 deletions
|
@ -161,11 +161,11 @@
|
|||
#include <stdarg.h>
|
||||
|
||||
#include "config.h"
|
||||
#if TIME_WITH_SYS_TIME
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue