fix windows.h

This commit is contained in:
blueloveTH 2024-11-07 20:46:12 +08:00
parent 5dd564aa53
commit b7cda8969e
2 changed files with 3 additions and 4 deletions

View File

@ -4,10 +4,8 @@
#ifdef _WIN32
#ifndef _WINDOWS_
void* LoadLibraryA(const char*);
void* GetProcAddress(void*, const char*);
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
#include <dlfcn.h>

View File

@ -3,6 +3,7 @@
#if PY_SYS_PLATFORM == 0
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <conio.h>