Commit 387ca6c6 authored by Sam Lantinga's avatar Sam Lantinga

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

parent f0d94b59
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment