mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Change long to TLong.
This allows a potential linux port to become reality much easier.
This commit is contained in:
8
source/Base/LongHack.hpp
Normal file
8
source/Base/LongHack.hpp
Normal 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
|
||||
Reference in New Issue
Block a user