Remove CVS $Id$ keyword
[clsql.git] / uffi / clsql_uffi.c
index 531abf041483f9a7f28495584ad0225c37d931cc..95822b79b75a58ee324785c5bc8fc9a665ebd8e4 100644 (file)
@@ -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 <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 +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);
 }
 
-  
-  
+
+