Commit f76262a5 authored by Jan Möbius's avatar Jan Möbius

cmake openmp define change

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5607 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cfe24520
......@@ -65,23 +65,25 @@
/** Enable openmp where possible (for gcc version >= 4.3)
*/
#if GCC_VERSION >= 4030
#define USE_OPENMP
#ifndef USE_OPENMP
#if GCC_VERSION >= 4030
#define USE_OPENMP
#endif
#endif
#ifndef DLLEXPORT
#ifdef WIN32
#ifdef PLUGINLIBDLL
#ifdef USEPLUGINLIBDLL
#define DLLEXPORT __declspec(dllimport)
#define DLLEXPORTONLY
#else
#define DLLEXPORT __declspec(dllexport)
#ifdef WIN32
#ifdef PLUGINLIBDLL
#ifdef USEPLUGINLIBDLL
#define DLLEXPORT __declspec(dllimport)
#define DLLEXPORTONLY
#else
#define DLLEXPORT __declspec(dllexport)
#define DLLEXPORTONLY __declspec(dllexport)
#endif
#else
#define DLLEXPORT
#else
#define DLLEXPORT
#define DLLEXPORTONLY
#endif
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment