From 2ddb31725980a9c882e4b356b0f7aa90aad1f25d Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Thu, 19 Jan 2023 12:57:09 +0000 Subject: [PATCH] Refs #1657. Corrected macro WIN64 to _WIN64 to fix assertion error when using Vector CAN hardware. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1016 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- .../port/windows/canif/vector/xlLoadlib.c | 6 +++--- Host/libopenblt.dll | Bin 1393664 -> 1393664 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Host/Source/LibOpenBLT/port/windows/canif/vector/xlLoadlib.c b/Host/Source/LibOpenBLT/port/windows/canif/vector/xlLoadlib.c index 7b3e4f49..6ec85582 100644 --- a/Host/Source/LibOpenBLT/port/windows/canif/vector/xlLoadlib.c +++ b/Host/Source/LibOpenBLT/port/windows/canif/vector/xlLoadlib.c @@ -263,13 +263,13 @@ XLstatus xlLoadLibrary(char const * library){ if (!hxlDll){ #ifdef _MFC_VER - #ifdef WIN64 + #ifdef _WIN64 MessageBox(NULL,"Dynamic XL Driver Library - not found (vxlapi64.dll)","XL API",MB_OK|MB_ICONEXCLAMATION); #else MessageBox(NULL,"Dynamic XL Driver Library - not found (vxlapi.dll)","XL API",MB_OK|MB_ICONEXCLAMATION); #endif #else - #ifdef WIN64 + #ifdef _WIN64 printf("Dynamic XL Driver Library - not found (vxlapi64.dll)\n"); #else printf("Dynamic XL Driver Library - not found (vxlapi.dll)\n"); @@ -531,7 +531,7 @@ XLstatus xlUnloadLibrary(void){ XLstatus xlOpenDriver(void){ -#ifdef WIN64 +#ifdef _WIN64 if (xlLoadLibrary("vxlapi64")!=XL_SUCCESS) return XL_ERR_CANNOT_OPEN_DRIVER; #else if (xlLoadLibrary("vxlapi")!=XL_SUCCESS) return XL_ERR_CANNOT_OPEN_DRIVER; diff --git a/Host/libopenblt.dll b/Host/libopenblt.dll index c444db4dc85487e2866fc5a084fc823a0296df45..8529603ac8540d6afc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