Browse Source

client: fix GoldSrc input being enabled for Android on x86

fix-cwd-path
Alibek Omarov 2 years ago
parent
commit
8f5c36dc62
  1. 5
      cl_dll/input_mouse.h

5
cl_dll/input_mouse.h

@ -1,4 +1,7 @@
#pragma once #pragma once
#include "build.h"
#if !defined(INPUT_MOUSE_H) #if !defined(INPUT_MOUSE_H)
#define INPUT_MOUSE_H #define INPUT_MOUSE_H
#include "cl_dll.h" #include "cl_dll.h"
@ -45,7 +48,7 @@ protected:
}; };
// No need for goldsource input support on the platforms that are not supported by GoldSource. // No need for goldsource input support on the platforms that are not supported by GoldSource.
#if GOLDSOURCE_SUPPORT && (_WIN32 || __linux__ || __APPLE__) && (__i386 || _M_IX86) #if GOLDSOURCE_SUPPORT && ( XASH_WIN32 || ( XASH_LINUX && !XASH_ANDROID ) || XASH_APPLE ) && XASH_X86
#define SUPPORT_GOLDSOURCE_INPUT 1 #define SUPPORT_GOLDSOURCE_INPUT 1
#if _WIN32 #if _WIN32

Loading…
Cancel
Save