From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2DLL/GlobalFunc.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/T2DLL/GlobalFunc.h') diff --git a/src/T2DLL/GlobalFunc.h b/src/T2DLL/GlobalFunc.h index fa658bd..f0a3589 100644 --- a/src/T2DLL/GlobalFunc.h +++ b/src/T2DLL/GlobalFunc.h @@ -1,5 +1,6 @@ -#pragma once -#include "common.h" +#ifndef T2DLL_GLOBALFUNC_H +#define T2DLL_GLOBALFUNC_H +#include "../common.h" // these are horrible kludges used by LoadStringTable #define INSTANCE_EXE ((HINSTANCE) 1) @@ -44,3 +45,4 @@ AFX_API_EXPORT void WriteMachineProfileString(const char * inKey, const char * i AFX_API_EXPORT void WriteMachineProfileInt(const char * inKey, const char * inName, int inValue); AFX_API_EXPORT CString GetMachineProfileString(const char * inKey, const char * inName, const char * inDefaultValue); AFX_API_EXPORT int GetMachineProfileInt(const char * inKey, const char * inName, int inDefaultValue); +#endif -- cgit v1.2.3