Skip to content

Conversation

@agentydragon
Copy link

Hi!
This fixes a compilation warning I got trying to compile this with GCC:

cpulimit.c:46:18: warning: extra tokens at end of #ifdef directive

According to https://stackoverflow.com/questions/2998864/how-to-add-a-or-condition-in-ifdef, the proper way to do OR together two #ifdef's is #if defined(A) || defined(B), not #ifdef A || B.
Cheers!

GCC complained about:
cpulimit.c:46:18: warning: extra tokens at end of #ifdef directive
@denji
Copy link

denji commented Dec 12, 2016

duplicate #48

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.

2 participants