Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv19769/include/asterisk

Modified Files:
        strings.h 
Log Message:
move strtoq into new string files (bug #4740)


Index: strings.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/strings.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- strings.h   15 Jul 2005 22:06:15 -0000      1.5
+++ strings.h   20 Jul 2005 00:13:14 -0000      1.6
@@ -198,6 +198,7 @@
        })
 
 #define HAVE_VASPRINTF
+#define HAVE_STRTOQ
 
 #ifdef __linux__
 #define HAVE_STRCASESTR
@@ -207,6 +208,12 @@
 
 #ifdef SOLARIS
 #undef HAVE_VASPRINTF
+#undef HAVE_STRTOQ
+#endif
+
+#ifdef __CYGWIN__
+#undef HAVE_STRTOQ
+typedef unsigned long long uint64_t;
 #endif
 
 #ifndef HAVE_STRCASESTR
@@ -225,4 +232,8 @@
 int vasprintf(char **strp, const char *fmt, va_list ap);
 #endif
 
+#ifndef HAVE_STRTOQ
+uint64_t strtoq(const char *nptr, char **endptr, int base);
+#endif
+
 #endif /* _ASTERISK_STRINGS_H */

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to