PMF extension doesn't work on OSX (nw)

This commit is contained in:
Vas Crabb 2015-05-30 13:36:37 +10:00
parent f115ab2dd2
commit 46c7eabbaf

View File

@ -28,12 +28,11 @@
*/
#ifndef USE_PMFDELEGATES
#if defined(__clang__) || (defined(__GNUC__) && defined(__i386__))
#if defined(__clang__) || defined(__APPLE__) || (defined(__GNUC__) && defined(__i386__))
#define USE_PMFDELEGATES (0)
#define NO_USE_PMFCONVERSION (1)
#else
#if defined(__GNUC__)
#define USE_PMFDELEGATES (1)
#elif defined(__GNUC__)
#define USE_PMFDELEGATES (0)
#define NO_USE_PMFCONVERSION (0)
#pragma GCC diagnostic ignored "-Wpmf-conversions"
#else
@ -41,7 +40,6 @@
#define NO_USE_PMFCONVERSION (1)
#endif
#endif
#endif
/*
* This increases performance in circuits with a lot of gates