include/SDL_error.h
changeset 1361 19418e4422cb
parent 1356 67114343400d
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
--- a/include/SDL_error.h	Fri Feb 10 07:29:08 2006 +0000
+++ b/include/SDL_error.h	Thu Feb 16 10:11:48 2006 +0000
@@ -40,11 +40,13 @@
 
 /* Private error message function - used internally */
 #define SDL_OutOfMemory()	SDL_Error(SDL_ENOMEM)
+#define SDL_Unsupported()	SDL_Error(SDL_UNSUPPORTED)
 typedef enum {
 	SDL_ENOMEM,
 	SDL_EFREAD,
 	SDL_EFWRITE,
 	SDL_EFSEEK,
+	SDL_UNSUPPORTED,
 	SDL_LASTERROR
 } SDL_errorcode;
 extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code);