r2057: acl loading issues
[clsql.git] / interfaces / clsql-uffi / clsql-uffi.c
index fc404cc38375e7f81a485c41dcea1a2d1d862eb5..951a1ec3cf260ba78cb51ec8b34da1f281273f9a 100644 (file)
@@ -6,7 +6,7 @@
  *   Programmer:    Kevin M. Rosenberg
  *   Date Started:  Mar 2002
  *
- * $Id: clsql-uffi.c,v 1.1 2002/03/27 08:09:25 kevin Exp $
+ * $Id: clsql-uffi.c,v 1.2 2002/03/27 09:10:16 kevin Exp $
  *
  * This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
  *
@@ -41,7 +41,11 @@ DLLEXPORT
 unsigned int
 atol64 (const unsigned char* str, int* pHigh32)
 {
+#ifdef WIN32
+  __int64 result = 0;
+#else
   long long result = 0;
+#endif
   int minus = 0;
   int first_char = *str;
   if (first_char == '+')