Fix MacOS build

Commit 8d13f14f95 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>
This commit is contained in:
Jim Young 2017-08-30 23:38:05 -04:00 committed by Stig Bjørlykke
parent 588590c539
commit 6f28f1a59e
1 changed files with 1 additions and 1 deletions

View File

@ -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