diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-10-25 22:03:07 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-10-25 22:03:07 +0000 |
commit | b63f27c0923a6758e5e5dbe2bc42e06a93049443 (patch) | |
tree | abfd888c993c466584e31fdf15fec69f72d099e7 /lib/common/MainHelper.h | |
parent | be9a51e36a54deab6f8e785af5b3052058a1d070 (diff) |
Avoid recompiling everything on MSVC when BoxVersion.h changes.
Diffstat (limited to 'lib/common/MainHelper.h')
-rw-r--r-- | lib/common/MainHelper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common/MainHelper.h b/lib/common/MainHelper.h index 3c973624..3c6e9ff0 100644 --- a/lib/common/MainHelper.h +++ b/lib/common/MainHelper.h @@ -12,6 +12,10 @@ #include <stdio.h> +#ifdef NEED_BOX_VERSION_H +# include "BoxVersion.h" +#endif + #include "BoxException.h" #include "Logging.h" @@ -21,6 +25,7 @@ MEMLEAKFINDER_INIT \ MEMLEAKFINDER_START \ try { + #define MAINHELPER_END \ } catch(std::exception &e) { \ BOX_FATAL(e.what()); \ |