Commit of some improvements when running under Cygwin

* musredit can now be built using Qt 4.5.3 of Cygwin 1.7---however, without online help
* FFTW3 threading in some user functions has been disabled

Obviously, there is a major problem when running musrgui/musredit with Cygwin on Windows7/64bit.
This has not been solved by this commit!
This commit is contained in:
Bastian M. Wojek
2011-06-07 09:15:24 +00:00
parent a467ca9bcb
commit 02d5784b68
20 changed files with 82 additions and 87 deletions

View File

@@ -155,16 +155,12 @@ TFilmTriVortexNGLFieldCalc::TFilmTriVortexNGLFieldCalc(const string& wisdom, con
fParam.resize(3);
fGridExists = false;
#ifdef HAVE_LIBFFTW3_THREADS
#if !defined(_WIN32GCC) && defined(HAVE_LIBFFTW3F_THREADS) && defined(HAVE_GOMP)
int init_threads(fftwf_init_threads());
if (init_threads) {
#ifdef HAVE_GOMP
fftwf_plan_with_nthreads(omp_get_num_procs());
#else
fftwf_plan_with_nthreads(2);
#endif /* HAVE_GOMP */
}
#endif /* HAVE_LIBFFTW3_THREADS */
#endif
const unsigned int stepsSqStZ(fSteps*fSteps*fStepsZ);