mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
Merge branch 'maint-0.3.3' into maint-0.3.4
This commit is contained in:
commit
6e0872e867
3
changes/bug27185
Normal file
3
changes/bug27185
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes (Windows, compilation):
|
||||||
|
- Silence a compilation warning on MSVC 2017 and clang-cl.
|
||||||
|
Fixes bug 27185; bugfix on 0.2.2.2-alpha.
|
@ -23,6 +23,8 @@
|
|||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#endif /* defined(_WIN32) */
|
#endif /* defined(_WIN32) */
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
/* These macros pull in declarations for some functions and structures that
|
/* These macros pull in declarations for some functions and structures that
|
||||||
* are typically file-private. */
|
* are typically file-private. */
|
||||||
#define ROUTER_PRIVATE
|
#define ROUTER_PRIVATE
|
||||||
@ -31,14 +33,6 @@
|
|||||||
#define MAIN_PRIVATE
|
#define MAIN_PRIVATE
|
||||||
#define STATEFILE_PRIVATE
|
#define STATEFILE_PRIVATE
|
||||||
|
|
||||||
/*
|
|
||||||
* Linux doesn't provide lround in math.h by default, but mac os does...
|
|
||||||
* It's best just to leave math.h out of the picture entirely.
|
|
||||||
*/
|
|
||||||
//#include <math.h>
|
|
||||||
long int lround(double x);
|
|
||||||
double fabs(double x);
|
|
||||||
|
|
||||||
#include "or.h"
|
#include "or.h"
|
||||||
#include "backtrace.h"
|
#include "backtrace.h"
|
||||||
#include "buffers.h"
|
#include "buffers.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user