mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
build: Enforce -Wundef on all targets.
Simulators (and some hosted targets) no longer get a free pass! This commit includes general fixes for simulator builds, but it will undoubtedly result in many more warnings that need to be properly fixed. Change-Id: I6bb9d3fc4a29ccfe40366c438e058b5dfff0ddc3
This commit is contained in:
parent
7ba4af6ab0
commit
0f8f05db29
4 changed files with 20 additions and 10 deletions
|
@ -33,11 +33,14 @@
|
|||
#include "serial.h"
|
||||
#include "power.h"
|
||||
#include "powermgmt.h"
|
||||
#if defined(HAVE_SDL) && (SDL_MAJOR_VERSION > 1)
|
||||
#if defined(HAVE_SDL)
|
||||
#include <SDL.h>
|
||||
#if (SDL_MAJOR_VERSION > 1)
|
||||
#include "button-sdl.h"
|
||||
#else
|
||||
#include "button-target.h"
|
||||
#endif
|
||||
#endif /* HAVE_SDL */
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
#include "lcd-remote.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue