diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-02-23 13:58:14 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-02-23 13:58:14 +0100 |
commit | 086cb94ad6aee856fd51ad8d7116f4a1c485a926 (patch) | |
tree | de49062b85c9ea758812d7b3e47a0f7ad3585628 | |
parent | 0c35b0e4dfb8149318c1343abc1f2805ec45ea84 (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.h | 8 |
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 |