Skip to content

Commit f94e121

Browse files
committed
Use #ifdef instead of #if to check if a macro is set
1 parent 19d4e5f commit f94e121

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/osmium/io/pbf.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace osmium {
4646
inline std::vector<std::string> supported_pbf_compression_types() {
4747
std::vector<std::string> types{"none", "zlib"};
4848

49-
#if OSMIUM_WITH_LZ4
49+
#ifdef OSMIUM_WITH_LZ4
5050
types.push_back("lz4");
5151
#endif
5252

0 commit comments

Comments
 (0)