summaryrefslogtreecommitdiff
path: root/src/common.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/common.h
parent96a63139221587c6be9659c1e07eacd3a8e7f048 (diff)
downloadt2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz
t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r--src/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 958f0bb..88f98b8 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef T2_COMMON_H
+#define T2_COMMON_H
#define VC_EXTRALEAN
#include <AFX.H>
@@ -401,3 +402,4 @@ inline int MSVC_STDCALL my_atoi(const char *s) {
#define atoi my_atoi
#endif
+#endif