mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Move Math constants into class (to be consistent with other constants), tested against minGW / gcc 4.7.2 and fixed various issues (mainly initializer lists, unused variables). BlackMisc compiles now in MinGW, but still issues (especially with qDebug() friend methods)
This commit is contained in:
@@ -18,9 +18,11 @@
|
||||
|
||||
//TODO do we still need these platform includes here?
|
||||
#ifdef Q_OS_WIN
|
||||
# define NOMINMAX
|
||||
# include <process.h>
|
||||
# include <windows.h>
|
||||
# ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
# include <process.h>
|
||||
# include <windows.h>
|
||||
# endif
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user