summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-02-23 13:58:14 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-02-23 13:58:14 +0100
commit086cb94ad6aee856fd51ad8d7116f4a1c485a926 (patch)
treede49062b85c9ea758812d7b3e47a0f7ad3585628
parent0c35b0e4dfb8149318c1343abc1f2805ec45ea84 (diff)
changes to make windows users happy: dlsym() call has been replaced with DL_FETCH_SYMBOL(), and default move constructor has been removed (it wasnt used)
-rw-r--r--zend/symbol.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/zend/symbol.h b/zend/symbol.h
index 66488dc..fcad9eb 100644
--- a/zend/symbol.h
+++ b/zend/symbol.h
@@ -99,13 +99,7 @@ public:
* @param name Name of the function
*/
Symbol(void *handle, const char *name) :
- _method(dlsym(handle, name)) {}
-
- /**
- * Move constructor
- * @param other
- */
- Symbol(Symbol &&other) = default;
+ _method(DL_FETCH_SYMBOL(handle, name)) {}
/**
* Destructor