fix: wrong define used for GCC version check
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 5 Aug 2021 20:48:51 +0000 (16:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Oct 2021 19:02:38 +0000 (15:02 -0400)
commit41845000b4c4bb13986f9b95b5dc67c309dd1bdc
tree46c4705aed324109cbe0512808d244a3e09e90a9
parent9e6c156fee2c2834063198384e3c35001992c7eb
fix: wrong define used for GCC version check

As far as I can tell, the __GNUC_MAJOR__ define has never existed, the
proper define for the major version is __GNUC__. See
https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html for
more details.

Change-Id: I0d47d524e7efd204fd2f8976311c62e872eb6170
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/constant.h
This page took 0.027453 seconds and 5 git commands to generate.