summaryrefslogtreecommitdiffstats
path: root/src/doxygen.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-06-28 19:57:14 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-06-28 19:57:14 (GMT)
commitff5ebce0649b5e1fbef2660234f5cc8184e80148 (patch)
tree63487b226b3e3b92355d670fbec5ea7382fc9475 /src/doxygen.h
parentd0f24b762e23b1b0c069209978aa403acc027cdf (diff)
downloadDoxygen-ff5ebce0649b5e1fbef2660234f5cc8184e80148.zip
Doxygen-ff5ebce0649b5e1fbef2660234f5cc8184e80148.tar.gz
Doxygen-ff5ebce0649b5e1fbef2660234f5cc8184e80148.tar.bz2
Refactor: make preprocessor run in parallel
And at the same time make sure it gives the same results as when processed using a single thread.
Diffstat (limited to 'src/doxygen.h')
-rw-r--r--src/doxygen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doxygen.h b/src/doxygen.h
index 3198c82..2978052 100644
--- a/src/doxygen.h
+++ b/src/doxygen.h
@@ -30,7 +30,9 @@
#include "memberlist.h"
#include "define.h"
+#ifndef MULTITHREADED_INPUT
#define MULTITHREADED_INPUT 0
+#endif
#if MULTITHREADED_INPUT
#define THREAD_LOCAL thread_local
@@ -149,7 +151,7 @@ class Doxygen
static QCString spaces;
static bool generatingXmlOutput;
static GenericsSDict *genericsDict;
- static DefineList macroDefinitions;
+ static DefinesPerFileList macroDefinitions;
};
void initDoxygen();