Skip to content

Commit

Permalink
Do not use undefined preprocessor macros.
Browse files Browse the repository at this point in the history
This fixes a warning produced when using `-Wundef`.
  • Loading branch information
mcourteaux authored Sep 24, 2024
1 parent 016c9fb commit f125ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/foonathan/memory/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

// hosted implementation
#ifndef FOONATHAN_HOSTED_IMPLEMENTATION
#if !_MSC_VER && !__STDC_HOSTED__
#if !defined(_MSC_VER) && !defined(__STDC_HOSTED__)
#define FOONATHAN_HOSTED_IMPLEMENTATION 0
#else
#define FOONATHAN_HOSTED_IMPLEMENTATION 1
Expand Down

0 comments on commit f125ba5

Please sign in to comment.