Skip to content

Commit e4e241a

Browse files
Remove MacOS-IFDEFs in WINDOWS block
1 parent fe796f1 commit e4e241a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

units/sdlthread.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ function SDL_CreateThread(fn: TSDL_ThreadFunction; name: PAnsiChar;
9191
data: Pointer;
9292
pfnBeginThread: TpfnSDL_CurrentBeginThread;
9393
pfnEndThread: TpfnSDL_CurrentEndThread): PSDL_Thread; cdecl; overload;
94-
external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_CreateThread' {$ENDIF} {$ENDIF};
94+
external SDL_LibName;
9595

9696
function SDL_CreateThreadWithStackSize(fn: TSDL_ThreadFunction;
9797
name: PAnsiChar; const stacksize: csize_t; data: Pointer;
9898
pfnBeginThread: TpfnSDL_CurrentBeginThread;
9999
pfnEndThread: TpfnSDL_CurrentEndThread): PSDL_Thread; cdecl; overload;
100-
external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_CreateThreadWithStackSize' {$ENDIF} {$ENDIF};
100+
external SDL_LibName;
101101

102102
{ SDL2-For-Pascal: #note : In the C header are two versions
103103
of these macro functions. One for SDL's dynamic API and one without.

0 commit comments

Comments
 (0)