@ -23,4 +23,7 @@ ELSE(UNIX)
ENDIF(UNIX)
ADD_LIBRARY(dfhack SHARED ${PROJECT_SRCS})
SET_TARGET_PROPERTIES( dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
TARGET_LINK_LIBRARIES(dfhack ${PROJECT_LIBS})
@ -35,7 +35,7 @@ distribution.
#include <fstream>
using namespace std;
#include <integers.h>
#include "integers.h"
#include <assert.h>
#include <string.h>
@ -43,7 +43,7 @@ distribution.
#include <string>
#include <vector>
class DFHackAPI;
@ -41,7 +41,7 @@ distribution.
# endif
#endif
#ifdef __cplusplus
# include <vector>
@ -4,10 +4,13 @@ This file is a wrapper for stdint.h
Visual Studio doesn't have stdint.h
stdint.h is part of the C99 standard. It's ancient and simply should be there. FAIL
*/
You can turn off the include by defining SKIP_DFHACK_STDINT
#ifndef SKIP_DFHACK_STDINT
#ifndef _MSC_VER
#include <stdint.h>
#else
#include <stdint_win.h>
#include "stdint_win.h"
@ -45,7 +45,7 @@
//----------------------------------------------------------------------
//STL includes
//typedefs
typedef unsigned char *POINTER;