forked from organicmaps/organicmaps
Fix MSVC compilation.
There is no inner int32_t, int16_t, int8_t types.
This commit is contained in:
parent
3ab53cea56
commit
5c60dcc94c
3 changed files with 14 additions and 4 deletions
|
@ -356,8 +356,8 @@ typedef uLong FAR uLongf;
|
|||
typedef Byte *voidp;
|
||||
#endif
|
||||
|
||||
#if 1 /* was set to #if 1 by ./configure */
|
||||
# define Z_HAVE_UNISTD_H
|
||||
#ifndef _MSC_VER
|
||||
#define Z_HAVE_UNISTD_H
|
||||
#endif
|
||||
|
||||
#ifdef STDC
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
#include "bzip2_compressor.hpp"
|
||||
#include "coder_util.hpp"
|
||||
|
||||
#include "../base/assert.hpp"
|
||||
|
||||
#include "../std/vector.hpp"
|
||||
#include <bzlib.h>
|
||||
|
||||
#include "../3party/bzip2/bzlib.h"
|
||||
|
||||
size_t DecompressBZip2IntoFixedSize(char const * pSrc, size_t srcSize, char * pDst, size_t dstSize)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
#ifndef __TIM_SORT_H__
|
||||
#define __TIM_SORT_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <stdint.h>
|
||||
#else
|
||||
typedef unsigned char uint8_t;
|
||||
typedef __int32 int32_t;
|
||||
typedef unsigned __int32 uint32_t;
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue