Skip to content

Commit

Permalink
Corrected cross-compiler problems
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhi1980 committed Jul 1, 2017
1 parent aa0d0ff commit 438df62
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mandelbulber2/src/opencl_dynamic_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
#ifdef USE_OPENCL

#include <QtCore>

#ifdef _WIN32
#ifndef _MSC_VER
// clew for cross compile
#include "clew.h"
#include "clew-cl.hpp"
#endif // NOT _MSC_VER
#endif // _WIN32
// OpenCL SDK for all others
#if defined(__APPLE__) || defined(__MACOSX)
#include <OpenCL/cl.hpp>
#else
Expand Down

0 comments on commit 438df62

Please sign in to comment.