Skip to content

Commit

Permalink
Fix non-windows build when DGL_WINDOWS_ICON_ID is defined
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Oct 7, 2023
1 parent d2c8290 commit a03257c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgl/src/WindowPrivateData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ PuglStatus Window::PrivateData::puglEventCallback(PuglView* const view, const Pu
case PUGL_REALIZE:
if (! pData->isEmbed && ! puglGetTransientParent(view))
{
#ifdef DGL_WINDOWS_ICON_ID
#if defined(DISTRHO_OS_WINDOWS) && defined(DGL_WINDOWS_ICON_ID)
WNDCLASSEX wClass = {};
const HINSTANCE hInstance = GetModuleHandle(nullptr);

Expand Down

0 comments on commit a03257c

Please sign in to comment.