]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2013: confusing ifdefs in if_<lang>.c v9.0.2014
authorKen Takata <kentkt@csc.jp>
Wed, 11 Oct 2023 19:27:06 +0000 (21:27 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 11 Oct 2023 19:27:06 +0000 (21:27 +0200)
commitc97b3febc82c1ccacf5f328ed0bd81c8b850e97d
tree8ab62fd87ed25bcfdc8c5394a7b104876f7f948a
parenta634b92b969e1bcb47551a39bf4e11e41ba9aa17
patch 9.0.2013: confusing ifdefs in if_<lang>.c

Problem:  confusing ifdefs in if_<lang>.c
Solution: refactor ifndefs to #ifdefs

if_x: Avoid using #ifndef - #else - #endif

Using #ifndef - #else - #endif is sometimes confusing.
Use #ifdef - #else - #endif instead.

closes: #13310

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ken Takata <kentkt@csc.jp>
src/if_lua.c
src/if_mzsch.c
src/if_perl.xs
src/if_python.c
src/if_python3.c
src/if_ruby.c
src/if_tcl.c
src/version.c