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

Linux: Undefined reference when HAVE_INOTIFY not defined #5682

Closed
player-03 opened this issue May 18, 2022 · 1 comment
Closed

Linux: Undefined reference when HAVE_INOTIFY not defined #5682

player-03 opened this issue May 18, 2022 · 1 comment

Comments

@player-03
Copy link

The Linux version of SDL_sysjoystick.c defines the IsJoystickDeviceNode function inside an #ifdef HAVE_INOTIFY block, but then uses it outside the block. This of course produces the error undefined reference to `IsJoystickDeviceNode' if the user lacks inotify.

@player-03 player-03 changed the title Undefined reference when HAVE_INOTIFY not defined Linux: Undefined reference when HAVE_INOTIFY not defined May 18, 2022
@slouken
Copy link
Collaborator

slouken commented May 19, 2022

Fixed, thanks!

sezero pushed a commit to sezero/SDL that referenced this issue Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants