Skip to content

Commit

Permalink
fix compile error with lime < 8 (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored Nov 20, 2022
1 parent afcf32a commit ce45308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/system/macros/FlxDefines.hx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class FlxDefines
if (!defined(FLX_NO_SOUND_SYSTEM) && !defined(FLX_NO_SOUND_TRAY))
define(FLX_SOUND_TRAY);

if (defined(FLX_NO_SOUND_SYSTEM) || #if openfl_legacy !defined("sys") #elseif (lime >= "8.0.0") defined("flash") #end)
if (defined(FLX_NO_SOUND_SYSTEM) #if openfl_legacy || !defined("sys") #elseif (lime >= "8.0.0") || defined("flash") #end)
define(FLX_NO_PITCH);

if (!defined(FLX_NO_PITCH))
Expand Down

0 comments on commit ce45308

Please sign in to comment.