| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/misc/dartsim/files/ |
Upload File : |
--- dart/common/SharedLibrary.cpp.orig 2018-11-20 05:47:58 UTC
+++ dart/common/SharedLibrary.cpp
@@ -35,7 +35,7 @@
#include "dart/common/Console.hpp"
#include "dart/common/detail/SharedLibraryManager.hpp"
-#if DART_OS_LINUX || DART_OS_MACOS
+#if DART_OS_LINUX || DART_OS_FREEBSD || DART_OS_MACOS
#include <dlfcn.h>
#define DYNLIB_LOAD(a) dlopen(a, RTLD_LAZY | RTLD_GLOBAL)
@@ -123,7 +123,7 @@ void* SharedLibrary::getSymbol(const std
//==============================================================================
std::string SharedLibrary::getLastError() const
{
-#if DART_OS_LINUX || DART_OS_MACOS
+#if DART_OS_LINUX || DART_OS_FREEBSD || DART_OS_MACOS
return std::string(dlerror());
#elif DART_OS_WINDOWS
LPTSTR lpMsgBuf;