Skip to content

Commit

Permalink
Fix windows build.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Treat <[email protected]>
  • Loading branch information
manyoso committed Aug 30, 2024
1 parent d42f719 commit b619289
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gpt4all-chat/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
# include <QIcon>
#endif

#ifdef Q_OS_WINDOWS
# include <windows.h>
#endif

void raiseWindow(QWindow* window) {
#ifdef Q_OS_WINDOWS
HWND hwnd = (HWND)window->winId();
Expand Down

0 comments on commit b619289

Please sign in to comment.