samba3-vscan/include vscan-global.h,1.2,1.3

Rainer Link <[email protected]> Sat, 23 Jul 2005 15:09:13 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/samba3-vscan/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12089/include

Modified Files:
	vscan-global.h 
Log Message:
atoll may not be available on all systems (e.g. FBSD 4.x)


Index: vscan-global.h
===================================================================
RCS file: /cvsroot/openantivirus/samba3-vscan/include/vscan-global.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- vscan-global.h	23 Jul 2005 14:48:01 -0000	1.2
+++ vscan-global.h	23 Jul 2005 15:09:11 -0000	1.3
@@ -16,6 +16,26 @@
 
 #define CLIENT_IP_SIZE 18
 
+#ifndef HAVE_ATOLL
+# ifdef HAVE_LONG_LONG
+#  ifdef HAVE_STRTOLL
+#   define HAVE_ATOLL_REPLACEMENT
+long long       atoll (const char *str);
+#  else
+#   ifdef HAVE_ATOQ
+#    define HAVE_ATOLL_REPLACEMENT
+long long       atoll (const char *str);
+#   endif
+#  endif
+# endif
+# ifndef HAVE_ATOLL_REPLACEMENT
+#  ifdef HAVE_LONG_LONG
+long long       atoll (const char *str);
+#  else
+long    atoll (const char *str);
+#  endif
+# endif
+#endif
 
 /* Configuration Section :-) */
 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click