comparison Plugins/Engine/PluginsManager.cpp @ 1032:57400f233de8

fix KFreeBSD build
author jodogne
date Thu, 10 Jul 2014 17:41:22 +0200
parents a13ccd93df28
children 1e1390665639
comparison
equal deleted inserted replaced
1031:703a552b52bc 1032:57400f233de8
40 #include <memory> 40 #include <memory>
41 #include <boost/filesystem.hpp> 41 #include <boost/filesystem.hpp>
42 42
43 #ifdef WIN32 43 #ifdef WIN32
44 #define PLUGIN_EXTENSION ".dll" 44 #define PLUGIN_EXTENSION ".dll"
45 #elif defined(__linux) 45 #elif defined(__linux) || defined(__FreeBSD_kernel__)
46 #define PLUGIN_EXTENSION ".so" 46 #define PLUGIN_EXTENSION ".so"
47 #elif defined(__APPLE__) && defined(__MACH__) 47 #elif defined(__APPLE__) && defined(__MACH__)
48 #define PLUGIN_EXTENSION ".dylib" 48 #define PLUGIN_EXTENSION ".dylib"
49 #else 49 #else
50 #error Support your platform here 50 #error Support your platform here