Skip to content

Commit

Permalink
no macro expansion with 'defined'
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 23, 2024
1 parent 4da41fe commit 4f5e129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libheif/bitstream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
#include <cassert>


#define GCC_COMPILER (defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(__PGI))
#if ((GCC_COMPILER) && __GNUC__ < 9) || (defined(__clang__) && __clang_major__ < 10)
#if ((defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(__PGI)) && __GNUC__ < 9) || (defined(__clang__) && __clang_major__ < 10)
#include <type_traits>
#else
#include <bit>
Expand Down

0 comments on commit 4f5e129

Please sign in to comment.