]> granicus.if.org Git - gc/commitdiff
debug helper for preproc symbol mix up
authorJohannes Totz <jtotz@ic.ac.uk>
Tue, 24 Aug 2010 19:40:51 +0000 (20:40 +0100)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 11 May 2015 15:59:11 +0000 (18:59 +0300)
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

index f1051c97491442a0f5613d881061dac1e346189b..ada78ca0b6f5937a9babd2110a42a92fe73aec2c 100644 (file)
  * 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