mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change the preprocessor macro that differs server/client builds
This commit is contained in:
parent
e2ea359925
commit
37095f3e49
45 changed files with 137 additions and 88 deletions
|
@ -80,7 +80,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <signal.h>
|
||||
#include <atomic>
|
||||
|
||||
#if !defined(SERVER) && defined(_WIN32)
|
||||
#if CHECK_CLIENT_BUILD() && defined(_WIN32)
|
||||
// On Windows export some driver-specific variables to encourage Minetest to be
|
||||
// executed on the discrete GPU in case of systems with two. Portability is fun.
|
||||
extern "C" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue