mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Configure SDL assuming we, in fact, have a libc.
Without this, on Linux and Linux alone, and only if SDL is builtin, the definitions for some functions - notably, memset/memcpy - are taken from SDL source. This leaves them at the mercy of the compiler and may lead to the optimal implementations of these functions not being selected. But the main motivation for this is that it's action at a distance that is incredibly surprising - linking in a gamepad support library should not change the implementation of memset/memcpy!
This commit is contained in:
parent
6339f31a02
commit
dcefe95ae4
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
|||
#define SDL_PLATFORM_UNIX 1
|
||||
|
||||
#define HAVE_STDIO_H 1
|
||||
#define HAVE_LIBC 1
|
||||
#define HAVE_LINUX_INPUT_H 1
|
||||
#define HAVE_POLL 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue