Skip to content

Commit e379d5f

Browse files
authored
Do not use undefined preprocessor macros. (#186)
This fixes a warning produced when using `-Wundef`.
1 parent e3d3fcb commit e379d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/foonathan/memory/config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
// hosted implementation
3737
#ifndef FOONATHAN_HOSTED_IMPLEMENTATION
38-
#if !_MSC_VER && !__STDC_HOSTED__
38+
#if !defined(_MSC_VER) && !defined(__STDC_HOSTED__)
3939
#define FOONATHAN_HOSTED_IMPLEMENTATION 0
4040
#else
4141
#define FOONATHAN_HOSTED_IMPLEMENTATION 1

0 commit comments

Comments
 (0)