mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
An update to the dylibloader for older inttypes
This #define's older inttypes to their newer versions and #includes <stdint.h> in the generated files. This will help with older glibc/compiler versions using headers generated on newer systems. This closes #46223
This commit is contained in:
parent
dc1ae06557
commit
5233d78f49
9 changed files with 8703 additions and 5210 deletions
|
@ -73,7 +73,12 @@ void JoypadLinux::Joypad::reset() {
|
|||
|
||||
JoypadLinux::JoypadLinux(Input *in) {
|
||||
#ifdef UDEV_ENABLED
|
||||
use_udev = initialize_libudev() == 0;
|
||||
#ifdef DEBUG_ENABLED
|
||||
int dylibloader_verbose = 1;
|
||||
#else
|
||||
int dylibloader_verbose = 0;
|
||||
#endif
|
||||
use_udev = initialize_libudev(dylibloader_verbose) == 0;
|
||||
if (use_udev) {
|
||||
print_verbose("JoypadLinux: udev enabled and loaded successfully.");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue