summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 21:23:37 +0300
commit1b553860436238f44a5dd781187ea6361002fcf0 (patch)
tree34241dc8e212d69aa78c8b7642c3fefa9315cb11 /src/localconsts.h
parentef7e7319305f040a47c483b71f2e78da7a1d6149 (diff)
downloadmv-1b553860436238f44a5dd781187ea6361002fcf0.tar.gz
mv-1b553860436238f44a5dd781187ea6361002fcf0.tar.bz2
mv-1b553860436238f44a5dd781187ea6361002fcf0.tar.xz
mv-1b553860436238f44a5dd781187ea6361002fcf0.zip
Fix compilation with old gcc and clang.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 298877b6b..35ccf1f78 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -53,6 +53,8 @@
#define noexcept
// #define A_DELETE
// #define A_DELETE_COPY
+#else
+#define ADVGCC
#endif
#undef Z_NULL
#define Z_NULL nullptr