diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-17 15:00:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-17 15:30:16 +0100 |
commit | 4363187d4e86c63d9465cbe7296d11fdc7815e32 (patch) | |
tree | 33005bd8183d74825b44bc4d47680faf7df009f0 /plugingui/filebrowser.h | |
parent | 70e08d1325b2cdd0e9c16a193cc6ed10d2d21617 (diff) |
Replace obsolete WIN32 ifdefs with platform define.
Diffstat (limited to 'plugingui/filebrowser.h')
-rw-r--r-- | plugingui/filebrowser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/filebrowser.h b/plugingui/filebrowser.h index 64ef4da..bc7170a 100644 --- a/plugingui/filebrowser.h +++ b/plugingui/filebrowser.h @@ -27,6 +27,7 @@ #pragma once #include <notifier.h> +#include <platform.h> #include "widget.h" #include "button.h" @@ -36,7 +37,8 @@ #include "image.h" #include "directory.h" -namespace GUI { +namespace GUI +{ class FileBrowser : public Widget { public: @@ -59,7 +61,7 @@ private: void handleKeyEvent(); Directory dir; -#ifdef WIN32 +#if DG_PLATFORM == DG_PLATFORM_WINDOWS bool above_root; bool in_root; #endif |