Skip to content

Commit

Permalink
Make pragma message fit into line limit in gc.h
Browse files Browse the repository at this point in the history
Issue #364 (bdwgc).

* include/gc/gc.h [WIN64 && !_WIN64 && _MSC_VER] (pragma message):
Shorten the warning message to fit into the line limitation.
  • Loading branch information
ivmai committed Sep 30, 2024
1 parent db93ea6 commit 8d7843d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/gc/gc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
#define GC_H

/* Help debug mixed up preprocessor symbols. */
#if (defined(WIN64) && !defined(_WIN64)) && defined(_MSC_VER)
#pragma message("Warning: Expecting _WIN64 for x64 targets! Notice the leading underscore!")
#if defined(WIN64) && !defined(_WIN64) && defined(_MSC_VER)
#pragma message("Warning: Expecting _WIN64 for x64 targets!")
#endif

/* Define version numbers here to allow test on build machine */
Expand Down

0 comments on commit 8d7843d

Please sign in to comment.