possibly fixed windows compilation KKona

This commit is contained in:
Rasmus Karlsson
2018-04-14 22:40:20 +02:00
parent b68b0845c1
commit ca0a42a95f
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -157,4 +157,12 @@
#define UNUSED(x) (void)(x)
#endif
#ifndef ATTR_UNUSED
#ifdef Q_OS_WIN
#define ATTR_UNUSED
#else
#define ATTR_UNUSED __attribute__((unused))
#endif
#endif
#endif