summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-04-10 07:48:52 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-04-10 07:48:52 +0000
commit2cd46d59ea88d8ab6ae32a7568564caf51528074 (patch)
tree866eb94bc74c00134445d6327f15fb390e708e99 /include/asterisk/compat.h
parentf7c5aee2ada1f62713f02cc6c9346a917243ff8c (diff)
Bug 6829 - asprintf for Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index afb290169..4ed0b7a5d 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -71,6 +71,7 @@ int unsetenv(const char *name);
#endif
#endif /* __CYGWIN__ */
+#define HAVE_ASPRINTF
#define HAVE_VASPRINTF
#define HAVE_STRTOQ
@@ -89,6 +90,7 @@ int unsetenv(const char *name);
#endif
#ifdef SOLARIS
+#undef HAVE_ASPRINTF
#undef HAVE_VASPRINTF
#undef HAVE_STRTOQ
#endif