summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-07-08 19:18:42 +0000
committerZeev Suraski <zeev@php.net>1999-07-08 19:18:42 +0000
commitcb2a2ea9d39c002c0aa2eb06c21da9e48597b032 (patch)
treeab17fb77c8c226bfe7644dee186e17bd36661a5b /main/php.h
parent1a33277e3d86bc35fd9f5b7a1b850f7f493149ea (diff)
downloadphp-git-cb2a2ea9d39c002c0aa2eb06c21da9e48597b032.tar.gz
*** empty log message ***
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 73253b9139..2086b0b3e0 100644
--- a/main/php.h
+++ b/main/php.h
@@ -251,6 +251,7 @@ extern int ap_vsnprintf(char *, size_t, const char *, va_list);
#define MIN(a,b) (((a)<(b))?(a):(b))
#define STR_FREE(ptr) if (ptr && ptr!=empty_string && ptr!=undefined_variable_string) { efree(ptr); }
#define COPY_STRING(yy) (yy).value.str.val = (char *) estrndup((yy).value.str.val,(yy).value.str.len)
+#define STR_PRINT(str) ((str)?(str):"")
#ifndef MAXPATHLEN
#define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */