summaryrefslogtreecommitdiff
path: root/phpcpp.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2014-02-05 14:36:23 +0100
committerMartijn Otto <martijn.otto@copernica.com>2014-02-05 14:36:23 +0100
commit30aeb60818c9d4b0318848d7dc83062f9c78b804 (patch)
tree8cecc83d7b7c6d17078013b9e30792c71d52b8c6 /phpcpp.h
parent07d047f1645a79284ae45c0f809f59d615698df6 (diff)
Added include guard and allow array access operator on a const Value object
Diffstat (limited to 'phpcpp.h')
-rw-r--r--phpcpp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpcpp.h b/phpcpp.h
index 236a93a..9fd97b9 100644
--- a/phpcpp.h
+++ b/phpcpp.h
@@ -7,6 +7,9 @@
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
*/
+#ifndef PHPCPP_H
+#define PHPCPP_H
+
/**
* Other C and C++ libraries that PhpCpp depends on
*/
@@ -55,3 +58,4 @@
# define PHPCPP_EXPORT
#endif
+#endif /* phpcpp.h */