diff options
author | Olly Betts <olly@survex.com> | 2022-07-19 08:14:07 +1200 |
---|---|---|
committer | Olly Betts <ojwbetts@gmail.com> | 2022-07-19 09:35:46 +1200 |
commit | 892557e799f37f168fd91e3c220a1061d6889458 (patch) | |
tree | 2f6ff4b74a85c705e94420da35d3315ebdea119a /Lib/allkw.swg | |
parent | dd0c8632bf05765f30c99e74203e99b1d281478c (diff) | |
download | swig-892557e799f37f168fd91e3c220a1061d6889458.tar.gz |
Improve #include guard macros
Avoid using reserved identifiers such as `_DOHINT_H` (fixes #1989),
fix cases where the name doesn't match the filename, and make the naming
more consistent and less likely to collide with include guards in other
headers.
Diffstat (limited to 'Lib/allkw.swg')
-rw-r--r-- | Lib/allkw.swg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/allkw.swg b/Lib/allkw.swg index 2d3cf6ea9..5e4cb8308 100644 --- a/Lib/allkw.swg +++ b/Lib/allkw.swg @@ -1,5 +1,5 @@ -#ifndef __Lib_allkw_swg__ -#define __Lib_allkw_swg__ +#ifndef SWIG_INCLUDED_LIB_ALLKW_SWG +#define SWIG_INCLUDED_LIB_ALLKW_SWG /* @@ -30,4 +30,4 @@ %include <tcl/tclkw.swg> -#endif //__Lib_allkw_swg__ +#endif // SWIG_INCLUDED_LIB_ALLKW_SWG |