Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_RISCOS
This commit is contained in:
1 parent
3fcaddc6d1
commit
d3275ff1a0
9 files changed
+10
-10
No files matched your search
@@ -106,7 +106,7 @@ static VideoBootStrap *bootstrap[] = {
|
|||||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
&KMSDRM_bootstrap,
|
&KMSDRM_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
&RISCOS_bootstrap,
|
&RISCOS_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#ifdef SDL_VIDEO_DRIVER_RPI
|
#ifdef SDL_VIDEO_DRIVER_RPI
|
||||||
@@ -4795,7 +4795,7 @@ int SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
|||||||
retval = 0;
|
retval = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
if (retval == -1 &&
|
if (retval == -1 &&
|
||||||
SDL_IsMessageboxValidForDriver(messageboxdata, SDL_SYSWM_RISCOS) &&
|
SDL_IsMessageboxValidForDriver(messageboxdata, SDL_SYSWM_RISCOS) &&
|
||||||
RISCOS_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
RISCOS_ShowMessageBox(messageboxdata, buttonid) == 0) {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../../events/SDL_events_c.h"
|
#include "../../events/SDL_events_c.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "SDL_riscosframebuffer_c.h"
|
#include "SDL_riscosframebuffer_c.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "SDL_riscosmessagebox.h"
|
#include "SDL_riscosmessagebox.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
extern int RISCOS_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
|
extern int RISCOS_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid);
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "../../events/SDL_mouse_c.h"
|
#include "../../events/SDL_mouse_c.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../../events/SDL_mouse_c.h"
|
#include "../../events/SDL_mouse_c.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "../SDL_pixels_c.h"
|
#include "../SDL_pixels_c.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#ifdef SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "../../events/SDL_mouse_c.h"
|
#include "../../events/SDL_mouse_c.h"
|
||||||
|
|||||||
Reference in new issue
Block a user