compiler: use __GNUC__ instead of the undefined __GNUC_MAJOR__
authorEmilio G. Cota <cota@braap.org>
Tue, 14 Oct 2014 02:31:25 +0000 (22:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Oct 2014 20:05:12 +0000 (16:05 -0400)
commit4ced09527503629a4387e1adbe21c82b133c54ed
treed7f745fb1d4e45ff1448d42cbbd42b3c309d993e
parent0fba1252d0fb2eae2054faad7b657cb296780421
compiler: use __GNUC__ instead of the undefined __GNUC_MAJOR__

gcc defines the major number with __GNUC__, not __GNUC_MAJOR__:
  https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html

Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/compiler.h
This page took 0.025704 seconds and 4 git commands to generate.