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/T2RoutingTableElem.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/T2DLL/T2RoutingTableElem.h') diff --git a/src/T2DLL/T2RoutingTableElem.h b/src/T2DLL/T2RoutingTableElem.h index 376a1f6..1bcd2c5 100644 --- a/src/T2DLL/T2RoutingTableElem.h +++ b/src/T2DLL/T2RoutingTableElem.h @@ -1,5 +1,6 @@ -#pragma once -#include "common.h" +#ifndef T2DLL_T2ROUTINGTABLEELEM_H +#define T2DLL_T2ROUTINGTABLEELEM_H +#include "../common.h" class AFX_CLASS_EXPORT T2RoutingTableElem { public: @@ -28,3 +29,4 @@ inline unsigned int T2RoutingTableElem::GetScore() const { return mScore; } inline int T2RoutingTableElem::GetTime() const { return mTime; } inline int T2RoutingTableElem::GetFinalHPos() const { return mFinalHPos; } inline BOOL T2RoutingTableElem::HasRoute() const { return (mNextFloorID != 0); } +#endif -- cgit v1.2.3