X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=uffi%2Fclsql_uffi.c;h=95822b79b75a58ee324785c5bc8fc9a665ebd8e4;hp=531abf041483f9a7f28495584ad0225c37d931cc;hb=d2d49ab13c98bc7a1819a0fd3968268a5567bdc3;hpb=473fb1cce3125859074ac32c2c1ba4eb25cdfb74 diff --git a/uffi/clsql_uffi.c b/uffi/clsql_uffi.c index 531abf0..95822b7 100644 --- a/uffi/clsql_uffi.c +++ b/uffi/clsql_uffi.c @@ -6,28 +6,26 @@ * Programmer: Kevin M. Rosenberg * Date Started: Mar 2002 * - * $Id$ - * - * This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg + * This file, part of CLSQL, is Copyright (c) 2002-2010 by Kevin M. Rosenberg * * CLSQL users are granted the rights to distribute and use this software * as governed by the terms of the Lisp Lesser GNU Public License * (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 +39,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 +67,7 @@ atol64 (const unsigned char* str, unsigned int* pHigh32) return lower_32bits(result); } - - + +