aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-10 07:48:52 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-10 07:48:52 +0000
commit57f651a43ce4438c514272ea6ef751aba4a61015 (patch)
tree866eb94bc74c00134445d6327f15fb390e708e99 /include/asterisk/compat.h
parent2161a93e6e03ac398ad5d5f7b87c1cc13706ab3c (diff)
Bug 6829 - asprintf for Solaris
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18755 f38db490-d61c-443f-a65b-d21fe96a405b
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