cmake: fix uses of undefined macro identifiers (-Wundef)
This commit is contained in:
parent
cc7c0a2dab
commit
d81d986858
430 changed files with 1289 additions and 1260 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "SDL.h"
|
||||
|
||||
#if HAVE_SIGNAL_H
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
|
@ -97,7 +97,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
wave.spec.callback = NULL; /* we'll push audio. */
|
||||
|
||||
#if HAVE_SIGNAL_H
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
/* Set the signals */
|
||||
#ifdef SIGHUP
|
||||
(void)signal(SIGHUP, poked);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue