From 4c87224144d955d000f0d5efdc9c058416cdefac Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 25 Nov 2010 16:27:52 +0100 Subject: NativeWindow/GDI: Adding ERROR_SUCCESS to make the code more clear. --- make/stub_includes/win32/wingdi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make/stub_includes') diff --git a/make/stub_includes/win32/wingdi.h b/make/stub_includes/win32/wingdi.h index e31cd8c5a..fd4bc16a2 100644 --- a/make/stub_includes/win32/wingdi.h +++ b/make/stub_includes/win32/wingdi.h @@ -105,8 +105,9 @@ typedef struct tagPIXELFORMATDESCRIPTOR { #define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 #define PFD_STEREO_DONTCARE 0x80000000 -/* OpenGL error codes (from winerror.h) */ +/* error codes (from winerror.h) */ /* FIXME: these should have a trailing "L" but apparently PCPP doesn't handle that syntax */ +#define ERROR_SUCCESS 0 #define ERROR_INVALID_PIXEL_FORMAT 2000 #define ERROR_NO_SYSTEM_RESOURCES 1450 #define ERROR_INVALID_DATA 13 -- cgit v1.2.3