1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Change the preprocessor macro that differs server/client builds

This commit is contained in:
sfan5 2024-10-15 15:47:23 +02:00
parent e2ea359925
commit 37095f3e49
45 changed files with 137 additions and 88 deletions

View file

@ -20,13 +20,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include "irr_v3d.h"
#include "config.h"
#include <limits>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#ifdef SERVER
#if !IS_CLIENT_BUILD
#error Do not include in server builds
#endif