cmake: fix uses of undefined macro identifiers (-Wundef)

This commit is contained in:
Anonymous Maarten 2023-11-17 04:06:26 +01:00 committed by GitHub
parent cc7c0a2dab
commit d81d986858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
430 changed files with 1289 additions and 1260 deletions

View file

@ -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);