Get UDT compiling, on win32 at least
This commit is contained in:
parent
77d0c56627
commit
b23c0494d5
2 changed files with 4 additions and 1 deletions
1
vendor/udt4/src/common.h
vendored
1
vendor/udt4/src/common.h
vendored
|
|
@ -50,6 +50,7 @@ written by
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <stdint.h>
|
||||||
#include "udt.h"
|
#include "udt.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
4
vendor/udt4/src/udt.h
vendored
4
vendor/udt4/src/udt.h
vendored
|
|
@ -58,6 +58,8 @@ written by
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
@ -69,7 +71,7 @@ written by
|
||||||
|
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#ifndef __MINGW__
|
#if !defined(__MINGW__) && defined(UDT_IS_DLL)
|
||||||
// Explicitly define 32-bit and 64-bit numbers
|
// Explicitly define 32-bit and 64-bit numbers
|
||||||
typedef __int32 int32_t;
|
typedef __int32 int32_t;
|
||||||
typedef __int64 int64_t;
|
typedef __int64 int64_t;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue