mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
fix windows.h
This commit is contained in:
parent
5dd564aa53
commit
b7cda8969e
@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#ifndef _WINDOWS_
|
#define WIN32_LEAN_AND_MEAN
|
||||||
void* LoadLibraryA(const char*);
|
#include <windows.h>
|
||||||
void* GetProcAddress(void*, const char*);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#if PY_SYS_PLATFORM == 0
|
#if PY_SYS_PLATFORM == 0
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user