* Change long to TLong.

This allows a potential linux port to become reality much easier.
This commit is contained in:
iProgramInCpp
2023-07-31 21:08:31 +03:00
parent 47f9b45ac4
commit 5884302836
24 changed files with 82 additions and 48 deletions

8
source/Base/LongHack.hpp Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
// Have to do this because GCC on 64-bit targets makes longs 64-bit.
#ifdef ORIGINAL_CODE
#define TLong long
#else
#define TLong int
#endif