diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/T2DLL/UT2Utils.h | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/UT2Utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/T2DLL/UT2Utils.h b/src/T2DLL/UT2Utils.h index 32e1cfa..ac58541 100644 --- a/src/T2DLL/UT2Utils.h +++ b/src/T2DLL/UT2Utils.h @@ -1,5 +1,6 @@ -#pragma once -#include "common.h" +#ifndef T2DLL_UT2UTILS_H +#define T2DLL_UT2UTILS_H +#include "../common.h" class AFX_CLASS_EXPORT UT2Utils { public: @@ -12,3 +13,4 @@ public: return (inRange == 0) ? 0 : (rand() % inRange); } }; +#endif |