File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3- * (C) 2020 Vladimir Sadovnikov <[email protected] > 2+ * Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/>
3+ * (C) 2024 Vladimir Sadovnikov <[email protected] > 44 *
55 * This file is part of lsp-runtime-lib
66 * Created on: 24 апр. 2020 г.
2424
2525#include < lsp-plug.in/runtime/version.h>
2626
27- #ifndef USE_LIBSNDFILE
28-
2927#include < lsp-plug.in/common/types.h>
28+
29+ #ifdef PLATFORM_WINDOWS
30+
3031#include < lsp-plug.in/common/status.h>
3132#include < lsp-plug.in/lltl/darray.h>
3233#include < lsp-plug.in/lltl/parray.h>
@@ -197,6 +198,6 @@ namespace lsp
197198 } /* namespace mm */
198199} /* namespace lsp */
199200
200- #endif /* USE_LIBSNDFILE */
201+ #endif /* PLATFORM_WINDOWS */
201202
202203#endif /* PRIVATE_MM_ACMSTREAM_H_ */
Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3- * (C) 2020 Vladimir Sadovnikov <[email protected] > 2+ * Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/>
3+ * (C) 2024 Vladimir Sadovnikov <[email protected] > 44 *
55 * This file is part of lsp-runtime-lib
66 * Created on: 24 апр. 2020 г.
1919 * along with lsp-runtime-lib. If not, see <https://www.gnu.org/licenses/>.
2020 */
2121
22+ #include < lsp-plug.in/common/types.h>
23+
24+ #ifdef PLATFORM_WINDOWS
25+
2226#include < lsp-plug.in/common/alloc.h>
2327#include < lsp-plug.in/common/debug.h>
2428#include < lsp-plug.in/common/endian.h>
2731#include < private/mm/ACMStream.h>
2832#include < stdlib.h>
2933
30- #ifndef USE_LIBSNDFILE
31-
3234#include < windows.h>
3335#include < mmreg.h>
3436#include < msacm.h>
@@ -814,4 +816,4 @@ namespace lsp
814816 } /* namespace mm */
815817} /* namespace lsp */
816818
817- #endif /* USE_LIBSNDFILE */
819+ #endif /* PLATFORM_WINDOWS */
You can’t perform that action at this time.
0 commit comments