mirror of https://github.com/vitalif/openscad
Fixed build issue related to https://svn.boost.org/trac/boost/ticket/6455
parent
162b453981
commit
7086f5fc37
|
@ -56,13 +56,6 @@
|
|||
|
||||
#include <sstream>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "AppleEvents.h"
|
||||
#ifdef OPENSCAD_DEPLOY
|
||||
#include "SparkleAutoUpdater.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "Camera.h"
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/program_options.hpp>
|
||||
|
@ -70,6 +63,13 @@
|
|||
#include <boost/foreach.hpp>
|
||||
#include "boosty.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "AppleEvents.h"
|
||||
#ifdef OPENSCAD_DEPLOY
|
||||
#include "SparkleAutoUpdater.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
@ -557,9 +557,9 @@ int gui(vector<string> &inputFiles, const fs::path &original_path, int argc, cha
|
|||
#endif
|
||||
|
||||
#if defined(OPENSCAD_DEPLOY) && defined(Q_OS_MAC)
|
||||
AutoUpdater *updater = new SparkleAutoUpdater;
|
||||
AutoUpdater::setUpdater(updater);
|
||||
if (updater->automaticallyChecksForUpdates()) updater->checkForUpdates();
|
||||
// AutoUpdater *updater = new SparkleAutoUpdater;
|
||||
// AutoUpdater::setUpdater(updater);
|
||||
// if (updater->automaticallyChecksForUpdates()) updater->checkForUpdates();
|
||||
#endif
|
||||
|
||||
#if 0 /*** disabled by clifford wolf: adds rendering artefacts with OpenCSG ***/
|
||||
|
|
Loading…
Reference in New Issue