From b4460beb094502c868dda5991e356623b13ce658 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 18 May 2023 15:39:15 +0200 Subject: [PATCH] travesty: do not define V3_VIEW_PLATFORM_TYPE_NATIVE for wasm Signed-off-by: falkTX --- distrho/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 index 2f5c698d..28429b50 100644 --- 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 + * Copyright (C) 2021-2023 Filipe Coelho * * 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