summaryrefslogtreecommitdiff
path: root/include/SDL_config.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2006-03-08 08:30:17 +0000
committerSam Lantinga <slouken@libsdl.org>2006-03-08 08:30:17 +0000
commit339f03befc7f7df8c07fd754a3f7385654bfc32b (patch)
treee1885584c16c10f7ce2ea91592391fedaaabfbb6 /include/SDL_config.h
parent66b29f704f50846a4bc0870fcf4b2ed040742656 (diff)
Added documentation on how to build a completely useless SDL library. :)
Diffstat (limited to 'include/SDL_config.h')
-rw-r--r--include/SDL_config.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/include/SDL_config.h b/include/SDL_config.h
index d72b9c5739..67240c4e62 100644
--- a/include/SDL_config.h
+++ b/include/SDL_config.h
@@ -51,6 +51,28 @@ typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned int size_t;
typedef unsigned long uintptr_t;
-#endif
+
+/* Enable the disk audio driver (src/audio/disk/\*.c) */
+#define SDL_AUDIO_DRIVER_DISK 1
+
+/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
+#define SDL_CDROM_DISABLED 1
+
+/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
+#define SDL_JOYSTICK_DISABLED 1
+
+/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
+#define SDL_LOADSO_DISABLED 1
+
+/* Enable the stub thread support (src/thread/generic/\*.c) */
+#define SDL_THREADS_DISABLED 1
+
+/* Enable the stub timer support (src/timer/dummy/\*.c) */
+#define SDL_TIMERS_DISABLED 1
+
+/* Enable the dummy video driver (src/video/dummy/\*.c) */
+#define SDL_VIDEO_DRIVER_DUMMY 1
+
+#endif /* platform config */
#endif /* _SDL_config_h */