From 714dfd9fdb33f02cf74b82beb1530939456ca5fb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 26 Mar 2013 05:09:09 -0700 Subject: [PATCH] Fixed compiler error with Cygwin --- src/video/windows/SDL_windowsmessagebox.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video/windows/SDL_windowsmessagebox.c b/src/video/windows/SDL_windowsmessagebox.c index 0ed50aff6..562fc83ed 100644 --- a/src/video/windows/SDL_windowsmessagebox.c +++ b/src/video/windows/SDL_windowsmessagebox.c @@ -26,6 +26,10 @@ #include "SDL_windowsvideo.h" +#ifndef SS_EDITCONTROL +#define SS_EDITCONTROL 0x2000 +#endif + /* Display a Windows message box */ #pragma pack(push, 1)