summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DateTime.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-09 20:59:16 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-09 20:59:16 +0100
commitc920fe38a19013b99f3f74e48da9724fb053c212 (patch)
tree6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/T2DLL/T2DateTime.h
parent96a63139221587c6be9659c1e07eacd3a8e7f048 (diff)
downloadt2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz
t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip
support building from VC++ IDE, add resources
Diffstat (limited to 'src/T2DLL/T2DateTime.h')
-rw-r--r--src/T2DLL/T2DateTime.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/T2DLL/T2DateTime.h b/src/T2DLL/T2DateTime.h
index aae18d4..207c1c4 100644
--- a/src/T2DLL/T2DateTime.h
+++ b/src/T2DLL/T2DateTime.h
@@ -1,5 +1,6 @@
-#pragma once
-#include "common.h"
+#ifndef T2DLL_T2DATETIME_H
+#define T2DLL_T2DATETIME_H
+#include "../common.h"
class AFX_CLASS_EXPORT T2DateTime {
public:
@@ -69,3 +70,4 @@ protected:
inline BOOL operator<=(const T2DateTime &a, const T2DateTime &b) {
return a.CalcTotalCount() <= b.CalcTotalCount();
}
+#endif