summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/goo/GooMutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/goo/GooMutex.h')
-rw-r--r--Build/source/libs/poppler/poppler-src/goo/GooMutex.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/libs/poppler/poppler-src/goo/GooMutex.h b/Build/source/libs/poppler/poppler-src/goo/GooMutex.h
index b2714b048c7..68dabc4028c 100644
--- a/Build/source/libs/poppler/poppler-src/goo/GooMutex.h
+++ b/Build/source/libs/poppler/poppler-src/goo/GooMutex.h
@@ -21,6 +21,7 @@
// Copyright (C) 2013 Adam Reichold <adamreichold@myopera.com>
// Copyright (C) 2014 Bogdan Cristea <cristeab@gmail.com>
// Copyright (C) 2014 Peter Breitenlohner <peb@mppmu.mpg.de>
+// Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -30,6 +31,8 @@
#ifndef GMUTEX_H
#define GMUTEX_H
+#ifdef MULTITHREADED
+
// Usage:
//
// GooMutex m;
@@ -82,4 +85,6 @@ private:
GooMutex *mutex;
};
-#endif
+#endif // MULTITHREADED
+
+#endif // GMUTEX_H