From 1e18029909d131bc1c83369862e52dd539db11f5 Mon Sep 17 00:00:00 2001 From: Admer <49600504+Admer456@users.noreply.github.com> Date: Wed, 23 Jun 2021 23:27:51 +0200 Subject: [PATCH] idParallelJobList: fix syntax highlighting for AddJob --- neo/idlib/ParallelJobList.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neo/idlib/ParallelJobList.h b/neo/idlib/ParallelJobList.h index 63d97a4b..368e4223 100644 --- a/neo/idlib/ParallelJobList.h +++ b/neo/idlib/ParallelJobList.h @@ -70,6 +70,11 @@ enum jobListParallelism_t #define assert_spu_local_store( ptr ) #define assert_not_spu_local_store( ptr ) +// Admer: prevent Visual Studio from incorrectly highlighting AddJob, as the same is defined in winspool.h +#ifdef AddJob +#undef AddJob +#endif + /* ================================================ idParallelJobList