summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2017-11-22 06:06:59 +1000
committerLorn Potter <lorn.potter@gmail.com>2017-11-23 00:51:20 +0000
commitb9dd7cfd4d01d51c4b5c060f2beb09184b8a3f18 (patch)
tree07ec7fc00e1bb0c77a28310110e11b4036bca386 /src/corelib/plugin
parent53fdcc3ddd7a9aa26993060f2635fa34788fd602 (diff)
wasm: use Q_OS_HTML5 in Qt code
Change-Id: Id3dba067e2ae9894905d4758b0870adbd90972ac Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/plugin')
-rw-r--r--src/corelib/plugin/qlibrary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.h b/src/corelib/plugin/qlibrary.h
index ef82db6a56..0e7db25f60 100644
--- a/src/corelib/plugin/qlibrary.h
+++ b/src/corelib/plugin/qlibrary.h
@@ -42,7 +42,7 @@
#include <QtCore/qobject.h>
-#ifndef __EMSCRIPTEN__
+#ifndef Q_OS_HTML5
QT_REQUIRE_CONFIG(library);
#endif
QT_BEGIN_NAMESPACE