mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
build: 64-bit targets only
CMake refuses to configure when pointers aren't 8 bytes, and dCommonVars.h asserts it, so sent and stored sizes can't silently change width. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
#pragma warning (disable:4251) //Disables SQL warnings
|
||||
|
||||
static_assert(sizeof(void*) == 8, "The server only builds for 64-bit targets");
|
||||
|
||||
// These are the same define, but they mean two different things in different contexts
|
||||
// so a different define to distinguish what calculation is happening will help clarity.
|
||||
#define FRAMES_TO_MS(x) (1000 / (x))
|
||||
|
||||
Reference in New Issue
Block a user