mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
fix windows.h
This commit is contained in:
parent
5dd564aa53
commit
b7cda8969e
@ -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>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#if PY_SYS_PLATFORM == 0
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <conio.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user