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:
parent
9fec6729fc
commit
ef6300aee9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user