From 4d1111d6bfc8431fa506b3a96e4f9cfad6d06187 Mon Sep 17 00:00:00 2001 From: Johannes Totz Date: Tue, 24 Aug 2010 20:40:51 +0100 Subject: [PATCH] debug helper for preproc symbol mix up i got bitten by it... for some reason _WIN64 is not defined all the time. glitch in vc9? Conflicts: include/gc.h --- include/gc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/gc.h b/include/gc.h index f1051c97..ada78ca0 100644 --- a/include/gc.h +++ b/include/gc.h @@ -28,6 +28,11 @@ * problems. */ +// help debug mixed up preproc symbols +#if (defined(WIN64) && !defined(_WIN64)) +#pragma message("Warning: Expecting _WIN64 for x64 targets! Notice the leading underscore!") +#endif + #ifndef GC_H #define GC_H -- 2.40.0