mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +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
|
@ -5,11 +5,11 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <sys/types.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