Fix -Wexpansion-to-defined warning from Clang 3.9

Authored by kfunk on Mar 6 2017, 2:35 PM.

Description

Fix -Wexpansion-to-defined warning from Clang 3.9

Fixed:

/home/kfunk/devel/src/kf5/heaptrack/tests/manual/test.cpp:65:5: warning:
macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]
  #if HAVE_ALIGNED_ALLOC
      ^
/home/kfunk/devel/src/kf5/heaptrack/tests/manual/test.cpp:4:28: note:
expanded from macro 'HAVE_ALIGNED_ALLOC'
  #define HAVE_ALIGNED_ALLOC defined(_ISOC11_SOURCE)

Details

Committed
kfunkMar 6 2017, 2:35 PM
Parents
R45:03b8f632347c: Update .gitignore with something more versatile
Branches
Unknown
Tags
Unknown