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

fix: broken compilation when using HAVE_LIBFONTS=0 #2

Closed
wants to merge 2 commits into from

Conversation

N-R-K
Copy link
Owner

@N-R-K N-R-K commented Dec 23, 2021

dummy PR to test github actions/workflow.

@N-R-K N-R-K closed this Dec 23, 2021
@N-R-K N-R-K reopened this Dec 23, 2021
@N-R-K N-R-K force-pushed the master branch 7 times, most recently from 540da4e to ad7ccbf Compare December 29, 2021 11:06
this runs both default and minimal build with gcc, clang and tcc.
compilation currently fails with `make HAVE_LIBFONTS=0` due to
`EXIT_SUCCESS` not being defined. I assume Xft.h includes stdlib.h which
is why compilation works with HAVE_LIBFONTS=1

this switches to using 0 as cg_quit argument in keybindings. if my
interpretation of the C99 standard is correct, then 0 and EXIT_SUCCESS
means the same thing.

> If the value of status is zero or EXIT_SUCCESS, an
> implementation-defined form of the status successful termination is
> returned.
@N-R-K N-R-K closed this Dec 30, 2021
@N-R-K N-R-K deleted the my_fix_stdlib branch December 30, 2021 11:59
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

Successfully merging this pull request may close these issues.

1 participant