X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi%2Fclsql_uffi.c;h=39754ff359488d01e4449e6bb3b1efb55f81bf71;hb=4e13a7c3d278d8a8a9cd39d72f82355c5a76e6eb;hp=531abf041483f9a7f28495584ad0225c37d931cc;hpb=473fb1cce3125859074ac32c2c1ba4eb25cdfb74;p=clsql.git diff --git a/uffi/clsql_uffi.c b/uffi/clsql_uffi.c index 531abf0..39754ff 100644 --- a/uffi/clsql_uffi.c +++ b/uffi/clsql_uffi.c @@ -15,19 +15,19 @@ * (http://opensource.franz.com/preamble.html), also known as the LLGPL. ***************************************************************************/ -#ifdef WIN32 +#if defined(WIN32)||defined(WIN64) #include BOOL WINAPI DllEntryPoint(HINSTANCE hinstdll, DWORD fdwReason, - LPVOID lpvReserved) + LPVOID lpvReserved) { return 1; } - + #define DLLEXPORT __declspec(dllexport) #else -#define DLLEXPORT +#define DLLEXPORT #endif @@ -41,7 +41,7 @@ DLLEXPORT unsigned int atol64 (const unsigned char* str, unsigned int* pHigh32) { -#ifdef WIN32 +#if defined(WIN32)||defined(WIN64) __int64 result = 0; #else long long result = 0; @@ -69,7 +69,7 @@ atol64 (const unsigned char* str, unsigned int* pHigh32) return lower_32bits(result); } - - + +