mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Avoid including client headers on server builds
This commit is contained in:
@@ -30,6 +30,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
// include the shadow mapper classes too
|
||||
#include "client/shadows/dynamicshadowsrender.h"
|
||||
|
||||
#ifdef SERVER
|
||||
#error Do not include in server builds
|
||||
#endif
|
||||
|
||||
struct VideoDriverInfo {
|
||||
std::string name;
|
||||
std::string friendly_name;
|
||||
|
Reference in New Issue
Block a user