Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure on musl due to use of glibc internal __bswap_16 #25714

Closed
rofl0r opened this issue Feb 8, 2019 · 1 comment
Closed

build failure on musl due to use of glibc internal __bswap_16 #25714

rofl0r opened this issue Feb 8, 2019 · 1 comment

Comments

@rofl0r
Copy link

rofl0r commented Feb 8, 2019

Godot version: 3.0.6 stable
OS/device including version: sabotage linux x86_64 using musl libc
Issue description:

platform/x11/joypad_linux.cpp: In member function 'void JoypadLinux::open_joypad(const char*)':
platform/x11/joypad_linux.cpp:370:52: error: '__bswap_16' was not declared in this scope
   sprintf(uid, "%04x%04x", __bswap_16(inpid.bustype), 0);

maybe this should be added to #20037

@rofl0r
Copy link
Author

rofl0r commented Feb 8, 2019

any libc function names starting with __ are not for external use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants