summaryrefslogtreecommitdiff
path: root/ext/xmlrpc/libxmlrpc/xmlrpc.h
diff options
context:
space:
mode:
authorDan Libby <danda@php.net>2001-09-06 09:36:58 +0000
committerDan Libby <danda@php.net>2001-09-06 09:36:58 +0000
commit79e6063a5e93d86b2deaf7d4b0baa434ae0246fa (patch)
treef5c2d4096f86e24cf5fa97d333eee6be118ad087 /ext/xmlrpc/libxmlrpc/xmlrpc.h
parent25d4500a86f475963b28c3919c5363a4d9136f60 (diff)
downloadphp-git-79e6063a5e93d86b2deaf7d4b0baa434ae0246fa.tar.gz
fix various build errors. default to no xmlrpc
Diffstat (limited to 'ext/xmlrpc/libxmlrpc/xmlrpc.h')
-rw-r--r--ext/xmlrpc/libxmlrpc/xmlrpc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.h b/ext/xmlrpc/libxmlrpc/xmlrpc.h
index 2cfe7cb2d9..25ca90f3c5 100644
--- a/ext/xmlrpc/libxmlrpc/xmlrpc.h
+++ b/ext/xmlrpc/libxmlrpc/xmlrpc.h
@@ -41,11 +41,16 @@
extern "C" {
#endif
+/* allow version to be specified via compile line define */
+#ifndef XMLRPC_LIB_VERSION
+ #define XMLRPC_LIB_VERSION "0.41"
+#endif
+
/* this number, representing the date, must be increased each time the API changes */
#define XMLRPC_API_NO 20010721
/* this string should be changed with each packaged release */
-#define XMLRPC_VERSION_STR "xmlrpc-epi v. " VERSION
+#define XMLRPC_VERSION_STR "xmlrpc-epi v. " XMLRPC_LIB_VERSION
/* where to find more info. shouldn't need to change much */
#define XMLRPC_HOME_PAGE_STR "http://xmlprc-epi.sourceforge.net/"