From e5b06d8879c2ec6aa8f425f82911b2f2625d6f7e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 15 Nov 2004 23:34:56 +0000 Subject: [PATCH] Updated for Visual C++ 6 build --- include/SDL_error.h | 2 +- src/main/macosx/exports/SDL.x | 1 + src/main/win32/exports/SDL.def | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SDL_error.h b/include/SDL_error.h index 5e411e5f4..9e13815d6 100644 --- a/include/SDL_error.h +++ b/include/SDL_error.h @@ -50,7 +50,7 @@ typedef enum { SDL_EFSEEK, SDL_LASTERROR } SDL_errorcode; -extern DECLSPEC void SDL_Error(SDL_errorcode code); +extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code); /* Ends C function definitions when using C++ */ diff --git a/src/main/macosx/exports/SDL.x b/src/main/macosx/exports/SDL.x index 3372f2cce..9e6804c86 100644 --- a/src/main/macosx/exports/SDL.x +++ b/src/main/macosx/exports/SDL.x @@ -54,6 +54,7 @@ _SDL_SetError _SDL_GetError _SDL_ClearError + _SDL_Error _SDL_PumpEvents _SDL_PeepEvents _SDL_PollEvent diff --git a/src/main/win32/exports/SDL.def b/src/main/win32/exports/SDL.def index e96c94711..4387617ab 100644 --- a/src/main/win32/exports/SDL.def +++ b/src/main/win32/exports/SDL.def @@ -52,6 +52,7 @@ SDL_SetError SDL_GetError SDL_ClearError + SDL_Error SDL_PumpEvents SDL_PeepEvents SDL_PollEvent