diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-05-08 18:54:15 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-05-08 18:54:15 +0300 |
commit | 2e2fb427e005dc0f8ea1df08458e250b740200da (patch) | |
tree | b18436243367dbb732c0d894e09e46751ba05c22 /include | |
parent | 2bcec83b6ef0eadf30ea01786a1efac969ae1d9c (diff) | |
download | bdwgc-2e2fb427e005dc0f8ea1df08458e250b740200da.tar.gz |
Fix 'AST broken' cppcheck syntax error in GC_init_linux_data_start
(fix of commit 2bcec83b6)
* include/private/gcconfig.h [(MSWIN32 || MSWINCE) && CPPCHECK]
(DATAEND): Do not define to empty.
Diffstat (limited to 'include')
-rw-r--r-- | include/private/gcconfig.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 43b9a3f3..7608be5c 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -936,13 +936,17 @@ EXTERN_C_BEGIN # ifdef MSWIN32 # define OS_TYPE "MSWIN32" /* STACKBOTTOM and DATASTART are handled specially in os_dep.c. */ -# define DATAEND /* not needed */ +# if !defined(CPPCHECK) +# define DATAEND /* not needed */ +# endif # define GWW_VDB # endif # ifdef MSWINCE # define OS_TYPE "MSWINCE" -# define DATAEND /* not needed */ +# if !defined(CPPCHECK) +# define DATAEND /* not needed */ +# endif # endif # ifdef NETBSD |