mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
If we are building under Coverity, enable geoip_stats and instrument_downloads.
This makes sure that a) optional code gets analyzed too, and b) it doesn't look like dead code to Coverity. svn:r17601
This commit is contained in:
parent
98066d62bc
commit
02e26ebc49
12
src/or/or.h
12
src/or/or.h
@ -15,6 +15,18 @@
|
||||
#define OR_H_ID "$Id$"
|
||||
|
||||
#include "orconfig.h"
|
||||
|
||||
#ifdef __COVERITY__
|
||||
/* If we're building for a static analysis, turn on all the off-by-default
|
||||
* features. */
|
||||
#ifndef INSTRUMENT_DOWNLOADS
|
||||
#define INSTRUMENT_DOWNLOADS 1
|
||||
#endif
|
||||
#ifndef ENABLE_GEOIP_STATS
|
||||
#define ENABLE_GEOIP_STATS 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#define WIN32_WINNT 0x400
|
||||
#define _WIN32_WINNT 0x400
|
||||
|
Loading…
Reference in New Issue
Block a user