From bb3c5c02c1dcb4d2ebd3ed05616ef86a339834ae Mon Sep 17 00:00:00 2001 From: Kelly Martin Date: Tue, 20 Nov 2012 09:32:04 -0600 Subject: [PATCH] Adjustments for MSVC compatibility --- library/include/VersionInfo.h | 2 +- library/include/modules/Screen.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/include/VersionInfo.h b/library/include/VersionInfo.h index 2ea4170fa..26aee19d1 100644 --- a/library/include/VersionInfo.h +++ b/library/include/VersionInfo.h @@ -27,7 +27,7 @@ distribution. #include "Pragma.h" #include "Export.h" -#include "Types.h" +/* #include "Types.h" */ #include #include #include diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h index f0b649810..2c245ae4c 100644 --- a/library/include/modules/Screen.h +++ b/library/include/modules/Screen.h @@ -110,7 +110,7 @@ namespace DFHack Pen chtile(char ch, int tile) { Pen cp(*this); cp.ch = ch; cp.tile = tile; return cp; } }; - struct ViewRect { + struct DFHACK_EXPORT ViewRect { rect2d view, clip; ViewRect(rect2d area) : view(area), clip(area) {}