From 086cb94ad6aee856fd51ad8d7116f4a1c485a926 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 23 Feb 2015 13:58:14 +0100 Subject: 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) --- zend/symbol.h | 8 +------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3