DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit b4460beb094502c868dda5991e356623b13ce658
parent 1736c842c5c6d609fabce8f46de3e732d17e9c90
Author: falkTX <falktx@falktx.com>
Date:   Thu, 18 May 2023 15:38:48 +0200

travesty: do not define V3_VIEW_PLATFORM_TYPE_NATIVE for wasm

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/src/travesty/view.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/distrho/src/travesty/view.h b/distrho/src/travesty/view.h @@ -1,6 +1,6 @@ /* * travesty, pure C VST3-compatible interface - * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com> + * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this @@ -37,7 +37,7 @@ struct v3_view_rect { # define V3_VIEW_PLATFORM_TYPE_NATIVE V3_VIEW_PLATFORM_TYPE_NSVIEW #elif defined(_WIN32) # define V3_VIEW_PLATFORM_TYPE_NATIVE V3_VIEW_PLATFORM_TYPE_HWND -#else +#elif !defined(__EMSCRIPTEN__) # define V3_VIEW_PLATFORM_TYPE_NATIVE V3_VIEW_PLATFORM_TYPE_X11 #endif