File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1212// Create Qwt3d DLL if QWT3D_DLL is defined (Windows only)
1313//
1414
15- #if defined(Q_WS_WIN )
15+ #if defined(Q_OS_WIN )
1616 #if defined(_MSC_VER ) /* MSVC Compiler */
1717 #pragma warning(disable: 4251) // dll interface required for stl templates
1818 //pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
4242 #define QWT3D_TEMPLATEDLL
4343 #endif
4444
45- #else // ! Q_WS_WIN
45+ #else // ! Q_OS_WIN
4646 #undef QWT3D_MAKEDLL /* ignore these for other platforms */
4747 #undef QWT3D_DLL
4848 #undef QWT3D_TEMPLATEDLL
Original file line number Diff line number Diff line change 44
55// #include <qglobal.h>
66#include < QtOpenGL/qgl.h>
7+ #ifdef Q_OS_MAC
8+ #include < OpenGL/glu.h>
9+ #else
710#include < GL/glu.h>
11+ #endif
812
913namespace Qwt3D
1014{
Original file line number Diff line number Diff line change 88
99#include < string>
1010
11- #if defined(Q_WS_WIN )
11+ #if defined(Q_OS_WIN )
1212 #include < windows.h>
1313#endif
1414
You can’t perform that action at this time.
0 commit comments