From 09dc6fde3a418bb17d768d619963226cc5ab7672 Mon Sep 17 00:00:00 2001 From: M0N7Y5 Date: Fri, 30 Oct 2020 20:58:33 +0100 Subject: [PATCH] Fixed old macros for x86 compilation --- BeefLibs/corlib/src/Windows.bf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BeefLibs/corlib/src/Windows.bf b/BeefLibs/corlib/src/Windows.bf index cf96cfb5..d56f755a 100644 --- a/BeefLibs/corlib/src/Windows.bf +++ b/BeefLibs/corlib/src/Windows.bf @@ -1473,7 +1473,7 @@ namespace System public static int GetWindowLong(HWnd hWnd, int32 nIndex) { -#if BF32 +#if BF_32_BIT //if (sizeof(int) == 4) return (int)GetWindowLongA((int)hWnd, nIndex); #else @@ -1483,7 +1483,7 @@ namespace System #endif } -#if BF32 +#if BF_32_BIT [CLink, CallingConvention(.Stdcall)] public static extern int GetWindowLongA(int hWnd, int nIndex); #else @@ -1493,14 +1493,14 @@ namespace System public static int SetWindowLong(HWnd hWnd, int32 nIndex, int value) { -#if BF32 +#if BF_32_BIT return (int)SetWindowLongA((int)hWnd, nIndex, value); #else return SetWindowLongPtrW((int)hWnd, nIndex, value); #endif } -#if BF32 +#if BF_32_BIT [CLink, CallingConvention(.Stdcall)] public static extern int SetWindowLongA(int hWnd, int nIndex, int value); #else