diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-26 19:07:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-26 19:07:00 (GMT) |
commit | 15c390fca901e24b426ea39eea95f32d5e4ee84e (patch) | |
tree | 9a1bf7d189c7863bbec8b0e195082131ee13e3c2 | |
parent | 00c414f562159d8fbc832d8807aa215800f201b4 (diff) | |
download | Doxygen-15c390fca901e24b426ea39eea95f32d5e4ee84e.zip Doxygen-15c390fca901e24b426ea39eea95f32d5e4ee84e.tar.gz Doxygen-15c390fca901e24b426ea39eea95f32d5e4ee84e.tar.bz2 |
Fix macro redefinition warning for windows build
-rw-r--r-- | src/portable.cpp | 1 | ||||
-rw-r--r-- | src/qcstring.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp index 11fcb82..98c7465 100644 --- a/src/portable.cpp +++ b/src/portable.cpp @@ -1,4 +1,5 @@ #include "portable.h" +#include "qcstring.h" #include <stdlib.h> #include <stdio.h> diff --git a/src/qcstring.h b/src/qcstring.h index c5cae37..3efda9a 100644 --- a/src/qcstring.h +++ b/src/qcstring.h @@ -27,8 +27,12 @@ #include <cstdint> #include <ostream> +#ifndef FALSE #define FALSE false +#endif +#ifndef TRUE #define TRUE true +#endif typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned uint; |