Skip to content

Commit c7c0375

Browse files
author
Guillaume Piolat
committed
Save size by removing FLP client (like other clients) when disabled. It turns out this client would creep in other formats, wasting about 20kb of binary space
1 parent b0c6a7d commit c7c0375

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

formats/dplug/flp/client.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
66
*/
77
module dplug.flp.client;
88

9+
version(FLP):
10+
911
import core.atomic;
1012
import core.stdc.stdio: snprintf;
1113
import core.stdc.string: strlen, memmove, memset;

formats/dplug/flp/types.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
66
*/
77
module dplug.flp.types;
88

9+
version(FLP):
10+
911
nothrow @nogc:
1012

1113
import core.stdc.config;

0 commit comments

Comments
 (0)