Mercurial > hg > orthanc
comparison Plugins/Engine/PluginsManager.cpp @ 1976:325772dadcd6
Macro "__linux" (now obsolete) replaced by macro "__linux__"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 14 Apr 2016 17:34:43 +0200 |
parents | b1291df2f780 |
children | 0af087300b26 |
comparison
equal
deleted
inserted
replaced
1975:730eedd9a5dc | 1976:325772dadcd6 |
---|---|
46 #include <memory> | 46 #include <memory> |
47 #include <boost/filesystem.hpp> | 47 #include <boost/filesystem.hpp> |
48 | 48 |
49 #ifdef WIN32 | 49 #ifdef WIN32 |
50 #define PLUGIN_EXTENSION ".dll" | 50 #define PLUGIN_EXTENSION ".dll" |
51 #elif defined(__linux) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) | 51 #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) |
52 #define PLUGIN_EXTENSION ".so" | 52 #define PLUGIN_EXTENSION ".so" |
53 #elif defined(__APPLE__) && defined(__MACH__) | 53 #elif defined(__APPLE__) && defined(__MACH__) |
54 #define PLUGIN_EXTENSION ".dylib" | 54 #define PLUGIN_EXTENSION ".dylib" |
55 #else | 55 #else |
56 #error Support your platform here | 56 #error Support your platform here |