From: Nick Bowler Date: Thu, 4 Apr 2024 03:57:32 +0000 (-0400) Subject: Avoid _Alignas/_Alignof redefinition on FreeBSD. X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/f5df895ced92ac539cafd825efee98835d8bf0d3?ds=sidebyside;hp=f5df895ced92ac539cafd825efee98835d8bf0d3 Avoid _Alignas/_Alignof redefinition on FreeBSD. It seems that FreeBSD provides _Alignof and _Alignas macros in various standard header files, including . Since the configure probes don't include any headers, these are missed, resulting in conflicting macro definitions. To fix this, all we really need to do is include some header file in the test program, so these system versions are visible when testing for _Alignas and _Alignof support. ---