mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 17:00:26 +00:00
Changed #if blocks to be greater than or equal to Vista version
This commit is contained in:
parent
c727abd667
commit
ad3afb56b8
|
@ -18464,7 +18464,7 @@ void sub_put2(int32 i,int64 offset,void *element,int32 passed){
|
||||||
//Creating/destroying an image surface:
|
//Creating/destroying an image surface:
|
||||||
|
|
||||||
int32 func__newimage(int32 x,int32 y,int32 bpp,int32 passed){
|
int32 func__newimage(int32 x,int32 y,int32 bpp,int32 passed){
|
||||||
#ifdef QB64_WINDOWS && WINVER > 0x0501 //this block is not compatible with XP
|
#ifdef QB64_WINDOWS && WINVER >= 0x0600 //this block is not compatible with XP
|
||||||
static bool j;
|
static bool j;
|
||||||
if(j != 1){
|
if(j != 1){
|
||||||
FARPROC dpiaware;
|
FARPROC dpiaware;
|
||||||
|
@ -29847,7 +29847,7 @@ void sub__numlock(int32 options){
|
||||||
}
|
}
|
||||||
|
|
||||||
void sub__consolefont(qbs* FontName, int FontSize){
|
void sub__consolefont(qbs* FontName, int FontSize){
|
||||||
#ifdef QB64_WINDOWS && WINVER > 0x0501 //this block is not compatible with XP
|
#ifdef QB64_WINDOWS && WINVER >= 0x0600 //this block is not compatible with XP
|
||||||
SECURITY_ATTRIBUTES SecAttribs = {sizeof(SECURITY_ATTRIBUTES), 0, 1};
|
SECURITY_ATTRIBUTES SecAttribs = {sizeof(SECURITY_ATTRIBUTES), 0, 1};
|
||||||
HANDLE cl_conout = CreateFileA("CONOUT$", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, & SecAttribs, OPEN_EXISTING, 0, 0);
|
HANDLE cl_conout = CreateFileA("CONOUT$", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, & SecAttribs, OPEN_EXISTING, 0, 0);
|
||||||
static int OneTimePause;
|
static int OneTimePause;
|
||||||
|
|
Loading…
Reference in a new issue