summaryrefslogtreecommitdiff
path: root/dgl/Window.hpp
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-12-26 21:58:11 +0100
committerFilipe Coelho <falktx@falktx.com>2019-01-06 19:10:11 +0100
commit2795c66b1654b6fda8f5a892057ffb625508a60f (patch)
tree7f7eb08ce43adc9988c196bbce531d234ae68ce0 /dgl/Window.hpp
parentff3308ea44d52261e800a618ec41c27fdb20a7b1 (diff)
rewrite preprocessor conditionals in simplified form
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r--dgl/Window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp
index 0a6d3120..0b44f7f9 100644
--- a/dgl/Window.hpp
+++ b/dgl/Window.hpp
@@ -119,7 +119,7 @@ public:
Application& getApp() const noexcept;
intptr_t getWindowId() const noexcept;
-#if defined(HAVE_DCAIRO)
+#ifdef HAVE_DCAIRO
cairo_t* getContext() const noexcept;
#endif