goat3dgfx

diff src/curveload.cc @ 2:7bd5ebec3b6f

fixed visual studio project files, removed the dll crap
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 16 Nov 2013 13:26:53 +0200
parents 1873dfd13f2d
children 7d6b667821cf
line diff
     1.1 --- a/src/curveload.cc	Sat Nov 16 08:52:30 2013 +0200
     1.2 +++ b/src/curveload.cc	Sat Nov 16 13:26:53 2013 +0200
     1.3 @@ -1,10 +1,20 @@
     1.4  #include <string>
     1.5  #include <assert.h>
     1.6 -#include <stdint.h>
     1.7  #include "curveload.h"
     1.8  #include "3dschunks.h"
     1.9  #include "logger.h"
    1.10  
    1.11 +#ifndef _MSC_VER
    1.12 +#include <stdint.h>
    1.13 +#else
    1.14 +typedef __int8 int8_t;
    1.15 +typedef __int16 int16_t;
    1.16 +typedef __int32 int32_t;
    1.17 +typedef unsigned __int8 uint8_t;
    1.18 +typedef unsigned __int16 uint16_t;
    1.19 +typedef unsigned __int32 uint32_t;
    1.20 +#endif
    1.21 +
    1.22  static uint32_t read_counter;
    1.23  
    1.24  struct ChunkHeader {