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:11:12 +0000 (15:11 -0400)
commit6ecf04f64d17fedf74ea881a4284edcfee87ec97
tree9691cce1cc702d6313602abb4de880ffd784d613
parente994318de0987df6d8a925dbe16cdadf2235bdc9
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.02994 seconds and 4 git commands to generate.