mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 21:44:58 +02:00
Patch based on post by Mike C to or-dev; special-case based on use of MSVC, rather than on MS_WINDOWS, so that mingw builds.
svn:r6523
This commit is contained in:
parent
8f902e4b58
commit
86da3e0a0a
@ -89,7 +89,7 @@ size_t strlcat(char *dst, const char *src, size_t siz);
|
||||
size_t strlcpy(char *dst, const char *src, size_t siz);
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#ifdef _MSC_VER
|
||||
#define U64_PRINTF_ARG(a) (a)
|
||||
#define U64_SCANF_ARG(a) (a)
|
||||
#define U64_FORMAT "%I64u"
|
||||
|
@ -15,7 +15,7 @@ const char torgzip_c_id[] =
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#ifdef MS_WINDOWS
|
||||
#ifdef _MSC_VER
|
||||
#include "..\..\contrib\zlib\zlib.h"
|
||||
#else
|
||||
#include <zlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user