From: Johannes Totz Date: Tue, 24 Aug 2010 19:40:51 +0000 (+0100) Subject: debug helper for preproc symbol mix up X-Git-Tag: gc7_6_0~199^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d1111d6bfc8431fa506b3a96e4f9cfad6d06187;p=gc 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 --- 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