You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2008/03/29 23:29:44 UTC
svn commit: r642630 - /httpd/httpd/trunk/include/ap_expr.h
Author: rpluem
Date: Sat Mar 29 15:29:39 2008
New Revision: 642630
URL: http://svn.apache.org/viewvc?rev=642630&view=rev
Log:
* Prevent multiple "execution" of ap_expr.h contents when included multiple
times and allow it to be included by C++ files.
Modified:
httpd/httpd/trunk/include/ap_expr.h
Modified: httpd/httpd/trunk/include/ap_expr.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/ap_expr.h?rev=642630&r1=642629&r2=642630&view=diff
==============================================================================
--- httpd/httpd/trunk/include/ap_expr.h (original)
+++ httpd/httpd/trunk/include/ap_expr.h Sat Mar 29 15:29:39 2008
@@ -14,8 +14,15 @@
* limitations under the License.
*/
+#ifndef AP_EXPR_H
+#define AP_EXPR_H
+
#include "httpd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* conditional expression parser stuff */
typedef enum {
TOKEN_STRING,
@@ -101,3 +108,9 @@
int *was_error, backref_t **reptr,
string_func_t string_func,
opt_func_t eval_func);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AP_EXPR_H */