fix MinGW 32-bit build
This commit is contained in:
parent
99059869e8
commit
c776bccfda
|
@ -54,14 +54,16 @@
|
||||||
#include <chrono> // std::chrono
|
#include <chrono> // std::chrono
|
||||||
|
|
||||||
// Versions of mingw64 g++ up to 9.3.0 do not have a complete IFileDialog
|
// Versions of mingw64 g++ up to 9.3.0 do not have a complete IFileDialog
|
||||||
|
// we don't use PFD on Windows anyway
|
||||||
#ifndef PFD_HAS_IFILEDIALOG
|
#ifndef PFD_HAS_IFILEDIALOG
|
||||||
# define PFD_HAS_IFILEDIALOG 1
|
#define PFD_HAS_IFILEDIALOG 0
|
||||||
# if (defined __MINGW64__ || defined __MINGW32__) && defined __GXX_ABI_VERSION
|
//# define PFD_HAS_IFILEDIALOG 1
|
||||||
# if __GXX_ABI_VERSION <= 1014
|
//# if (defined __MINGW64__ || defined __MINGW32__) && defined __GXX_ABI_VERSION
|
||||||
# undef PFD_HAS_IFILEDIALOG
|
//# if __GXX_ABI_VERSION <= 1014
|
||||||
# define PFD_HAS_IFILEDIALOG 0
|
//# undef PFD_HAS_IFILEDIALOG
|
||||||
# endif
|
//# define PFD_HAS_IFILEDIALOG 0
|
||||||
# endif
|
//# endif
|
||||||
|
//# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace pfd
|
namespace pfd
|
||||||
|
|
Loading…
Reference in New Issue