mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 09:02:56 +00:00
commit
5445267044
|
|
@ -6,7 +6,7 @@
|
|||
#include <assert.h>
|
||||
//#include <system_service.h>
|
||||
#include <codecvt>
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && defined(__GLIBC__)
|
||||
#include <signal.h>
|
||||
#include <execinfo.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -574,7 +574,7 @@ int StartMinecraftThreadProc( void* lpParameter )
|
|||
|
||||
int main(int argc, const char *argv[] )
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && defined(__GLIBC__)
|
||||
struct sigaction sa;
|
||||
sa.sa_handler = sigsegv_handler;
|
||||
sigemptyset(&sa.sa_mask);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ private:
|
|||
public:
|
||||
int64_t lastWritten;
|
||||
unsigned int fileRef;
|
||||
bool operator<(const DirtyRegionFile& rhs) { return lastWritten < rhs.lastWritten; }
|
||||
bool operator<(const DirtyRegionFile& rhs) const { return lastWritten < rhs.lastWritten; }
|
||||
};
|
||||
|
||||
class RegionFileReference
|
||||
|
|
@ -140,4 +140,4 @@ public:
|
|||
|
||||
virtual void ConvertRegionFile(File sourceFile);
|
||||
virtual void ConvertToLocalPlatform();
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue