httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r642630 - /httpd/httpd/trunk/include/ap_expr.h
Date Sat, 29 Mar 2008 22:29:44 GMT
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 */



Mime
View raw message