anchor.diff:  
     function SDL_PushEvent(event: PSDL_Event): SInt32 cdecl; external {$IFDEF GPC} name 'SDL_PumpEvents' {$ELSE} SDL_LibName {$ENDIF};
   
  -const
  +type
  +  PSDL_EventFilter = ^TSDL_EventFilter;
     {$IFNDEF GPC}
  -    TSDL_EventFilter = function( event: PSDL_Event ): Integer; cdecl;;
  +    TSDL_EventFilter = function( event: PSDL_Event ): Integer; cdecl;
     {$ELSE}
       TSDL_EventFilter = function( event: PSDL_Event ): Integer;
     {$ENDIF}
  
positive.code:                            SDL_PATCHLEVEL);
  end;
  
  function SDL_VERSION_ATLEAST(X,Y,Z): Boolean;
  begin
    Result := SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X,Y,Z);
  end;
  
  //from "sdl_rect.h"
  function SDL_RectEmpty(X: TSDL_Rect): TSDL_Bool;
  begin
    Result := (X.w <= 0) or (X.h <= 0);
  end;
  
  function SDL_RectEquals(A: TSDL_Rect; B: TSDL_Rect);
  begin
    Result := (A.x = B.x) and (A.y = B.y) and (A.w = B.w) and (A.h = B.h);
  end;
  
  //from "sdl_pixels.h"
  function SDL_IsPixelFormat_FOURCC(format: Variant): TSDL_Bool;
  begin
    {* The flag is set to 1 because 0x1? is not in the printable ASCII range *}
    Result := format and SDL_PIXELFLAG(format) <> 1;
  
negative.code:       SDL_USEREVENT: (user: TSDL_UserEvent);
        SDL_SYSWMEVENT: (syswm: TSDL_SysWMEvent);
  
        SDL_FINGERDOWN,
        SDL_FINGERUP,
        SDL_FINGERMOTION: (tfinger: TSDL_TouchFingerEvent);
        SDL_MULTIGESTURE: (mgesture: TSDL_MultiGestureEvent);
        SDL_DOLLARGESTURE,SDL_DOLLARRECORD: (dgesture: TSDL_DollarGestureEvent);
  
        SDL_DROPFILE: (drop: TSDL_DropEvent);
    end;
  
  
  