Fix Linux build: define __stdcall as empty on non-Windows

The __stdcall calling convention is Windows-specific.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
njohnson 2026-01-13 16:28:28 -05:00
parent 9fec6729fc
commit ef6300aee9

View File

@ -3,6 +3,11 @@
#include <QtGlobal> #include <QtGlobal>
// Windows calling conventions - define as empty on non-Windows
#ifndef Q_OS_WIN
#define __stdcall
#endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include "QtZlib/zlib.h" #include "QtZlib/zlib.h"
#else #else