From: Samir Benmendil Date: Fri, 6 Jul 2018 12:43:25 +0000 (+0100) Subject: vim/ultisnips/cpp: replace WIN32 with _WIN32 X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c718923582a2491791b129ed8572a38f45c9d62e vim/ultisnips/cpp: replace WIN32 with _WIN32 _WIN32 is defined by the compiler, which is more likely to be defined than WIN32 which is defined by the Windows SDK. --- diff --git a/vim/ultisnips/cpp.snippets b/vim/ultisnips/cpp.snippets index 99cfa78..5b55701 100644 --- a/vim/ultisnips/cpp.snippets +++ b/vim/ultisnips/cpp.snippets @@ -56,7 +56,7 @@ snippet cplat "Cross platform pre processor split" b ${1} #elif defined(__APPLE__) ${2} -#elif defined(WIN32) +#elif defined(_WIN32) ${3} #endif endsnippet