Skip to content

Commit 37c8def

Browse files
author
furious programming
authored
Fixed invalid "$UNDEFINE" directive
Invalid "$UNDEFINE" directive replaced with "$UNDEF" to avoid compilation warnings.
1 parent 8733bdc commit 37c8def

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sdlsyswm.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Disabled because FPC does not ship a DirectFB unit.
1515
* If you have some working DirectDB bindings, feel welcome to enable this and check if it breaks anything.
1616
*)
17-
{$UNDEFINE SDL_VIDEO_DRIVER_DIRECTFB}
17+
{$UNDEF SDL_VIDEO_DRIVER_DIRECTFB}
1818

1919
{$IFDEF DARWIN}
2020
{$DEFINE SDL_VIDEO_DRIVER_COCOA}
@@ -24,25 +24,25 @@
2424
* Disabled because it's a Mac-specific video driver and we have no means of testing it.
2525
* If you own a Mac, feel welcome to enable this and check if it actually compiles and doesn't break anything.
2626
*)
27-
{$UNDEFINE SDL_VIDEO_DRIVER_UIKIT}
27+
{$UNDEF SDL_VIDEO_DRIVER_UIKIT}
2828

2929
(*
3030
* Disabled because FPC does not ship a Wayland unit.
3131
* If you have some working Wayland bindings, feel welcome to enable this,
3232
* check if it actually compiles and doesn't break anything.
3333
*)
34-
{$UNDEFINE SDL_VIDEO_DRIVER_WAYLAND}
34+
{$UNDEF SDL_VIDEO_DRIVER_WAYLAND}
3535

3636
(*
3737
* Disabled because FPC does not ship a Mir unit.
3838
* Also, support for Mir has been removed in SDL 2.0.10.
3939
*)
40-
{$UNDEFINE SDL_VIDEO_DRIVER_MIR}
40+
{$UNDEF SDL_VIDEO_DRIVER_MIR}
4141

4242
(*
4343
* Disabled because FPC does not support WinRT.
4444
*)
45-
{$UNDEFINE SDL_VIDEO_DRIVER_WINRT}
45+
{$UNDEF SDL_VIDEO_DRIVER_WINRT}
4646

4747
{$IFDEF ANDROID}
4848
{$DEFINE SDL_VIDEO_DRIVER_ANDROID}
@@ -53,7 +53,7 @@
5353
* If you're actually working with Vivante, feel welcome to enable this
5454
* and check if it compiles and works properly.
5555
*)
56-
{$UNDEFINE SDL_VIDEO_DRIVER_VIVANTE}
56+
{$UNDEF SDL_VIDEO_DRIVER_VIVANTE}
5757

5858
{$IFDEF OS2}
5959
{$DEFINE SDL_VIDEO_DRIVER_OS2}

0 commit comments

Comments
 (0)