mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Allow faster rebuilds in certain cases
Previously, when rebuilding with a different "--prefix" or "--scriptdir", all Bro source files were recompiled. With this change, only util.cc is recompiled. Instead of specifying command-line preprocessor macros on all source files, a header file is regenerated when needed which only util.cc includes.
This commit is contained in:
parent
5e12a53ae5
commit
15033a2b62
3 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "config.h"
|
||||
#include "util-config.h"
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue