Update changelog for recent changes
[clsql.git] / uffi / clsql_uffi.c
index 531abf041483f9a7f28495584ad0225c37d931cc..39754ff359488d01e4449e6bb3b1efb55f81bf71 100644 (file)
  * (http://opensource.franz.com/preamble.html), also known as the LLGPL.
  ***************************************************************************/
 
-#ifdef WIN32
+#if defined(WIN32)||defined(WIN64)
 #include <windows.h>
 
 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);
 }
 
-  
-  
+
+