summaryrefslogtreecommitdiff
path: root/ast_expr.y
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
committerMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
commit9d40b8ee8045660d58281553e34b7f45406951c0 (patch)
tree48694f38698e4ead3840305333816193c7fcd8a0 /ast_expr.y
parent0f205bb07903a70272e8ae2403afe20ceb06cedc (diff)
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-xast_expr.y8
1 files changed, 8 insertions, 0 deletions
diff --git a/ast_expr.y b/ast_expr.y
index df08f6829..e90931f87 100755
--- a/ast_expr.y
+++ b/ast_expr.y
@@ -13,7 +13,11 @@
#include <string.h>
#include <locale.h>
#include <ctype.h>
+#ifndef SOLARIS
#include <err.h>
+#else
+typedef uint64_t quad_t;
+#endif
#include <errno.h>
#include <regex.h>
#include <limits.h>
@@ -39,6 +43,10 @@
/* #define ast_log fprintf
#define LOG_WARNING stderr */
+
+#ifdef SOLARIS
+#define __P(p) p
+#endif
enum valtype {
integer, numeric_string, string