fix: resolve stubgen byte header conflict

This commit is contained in:
Ian Chua
2026-08-19 17:11:10 +08:00
parent d3c728557e
commit eb96d127b0

View File

@@ -1,3 +1,15 @@
#ifdef ORCA_PYTHON_STUBGEN_MODULE
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#endif
#endif
#include "PythonPluginBridge.hpp"
#include <boost/log/trivial.hpp>