diff options
author | Jim Young <jyoung@gsu.edu> | 2017-08-30 23:38:05 -0400 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-08-31 06:29:25 +0000 |
commit | 6f28f1a59e143fc94ea1bc4d46dc9818e0d16e14 (patch) | |
tree | 3345b9231917633d4be0ba788b829fe980f8484f /ui | |
parent | 588590c539b5660e71660645305cb639cb35dc92 (diff) |
Fix MacOS build
Commit 8d13f14f958b9ee00b59fd869bd1630f76e6fa65 introduced a
preprocessor buglet affecting MacOS builds. Change #if to #ifdef.
Change-Id: I3d76c83428658abcf382e18066be0e24309ecbba
Reviewed-on: https://code.wireshark.org/review/23317
Petri-Dish: Jim Young <jim.young.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jim Young <jim.young.ws@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/widgets/qcustomplot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/widgets/qcustomplot.cpp b/ui/qt/widgets/qcustomplot.cpp index c9fbffc9bd..2a3ee3bc91 100644 --- a/ui/qt/widgets/qcustomplot.cpp +++ b/ui/qt/widgets/qcustomplot.cpp @@ -29,7 +29,7 @@ // Set to nonzero to use device pixel scaling. Uncommenting the debug rects // at the bottom of QCPAxisPainterPrivate::draw can be helpful for testing. -#if Q_OS_MAC +#ifdef Q_OS_MAC #define WS_ENABLE_DP_RATIO 1 #else #define WS_ENABLE_DP_RATIO 0 |