Get UDT compiling, on win32 at least

This commit is contained in:
Eric Frias 2014-06-25 18:47:24 -04:00
parent 77d0c56627
commit b23c0494d5
2 changed files with 4 additions and 1 deletions

View file

@ -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"

View file

@ -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;