diff options
author | Brad King <brad.king@kitware.com> | 2019-02-14 15:14:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-14 15:14:08 (GMT) |
commit | fd74eba1402d66a4d6a1af3442cf219d02f7cbc8 (patch) | |
tree | a39f063889f7051bdbf8e7b7df19970e82166201 | |
parent | 49a53cac87fe3a303a2794ccdd7c1b5cecd2d016 (diff) | |
parent | 76a5ac210050e0c1ccdce8ce89a0c77579e30187 (diff) | |
download | CMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.zip CMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.tar.gz CMake-fd74eba1402d66a4d6a1af3442cf219d02f7cbc8.tar.bz2 |
Merge topic 'fix-pointer-truncation'
76a5ac2100 cmListFileLexer: Add missing include to avoid possible pointer truncation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2956
-rw-r--r-- | Source/LexerParser/cmListFileLexer.c | 2 | ||||
-rw-r--r-- | Source/LexerParser/cmListFileLexer.in.l | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/LexerParser/cmListFileLexer.c b/Source/LexerParser/cmListFileLexer.c index c726415..15dcda0 100644 --- a/Source/LexerParser/cmListFileLexer.c +++ b/Source/LexerParser/cmListFileLexer.c @@ -766,7 +766,7 @@ Modify cmListFileLexer.c: /* IWYU pragma: no_forward_declare yyguts_t */ -#ifdef WIN32 +#ifdef _WIN32 #include "cmsys/Encoding.h" #endif diff --git a/Source/LexerParser/cmListFileLexer.in.l b/Source/LexerParser/cmListFileLexer.in.l index 6a6fb5f..fdf14d2 100644 --- a/Source/LexerParser/cmListFileLexer.in.l +++ b/Source/LexerParser/cmListFileLexer.in.l @@ -18,7 +18,7 @@ Modify cmListFileLexer.c: /* IWYU pragma: no_forward_declare yyguts_t */ -#ifdef WIN32 +#ifdef _WIN32 #include "cmsys/Encoding.h" #endif |