Only compile the NDS renderer if specified in the config file.

This commit is contained in:
Sam Lantinga
2011-03-06 21:19:02 -08:00
parent 41ec33f3e3
commit 8687086b1d

View File

@@ -19,6 +19,9 @@
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"
#if SDL_VIDEO_RENDER_NDS
#include <stdio.h>
#include <stdlib.h>
@@ -26,8 +29,6 @@
#include <gl2d.h>
#include "SDL_config.h"
#include "SDL_video.h"
#include "../../video/SDL_sysvideo.h"
#include "SDL_render.h"
@@ -361,4 +362,6 @@ SDL_RenderDriver NDS_RenderDriver = {
}
};
#endif /* SDL_VIDEO_RENDER_NDS */
/* vi: set ts=4 sw=4 expandtab: */