Changeset e5724f7 in rtems-libbsd


Ignore:
Timestamp:
Mar 9, 2015, 1:20:20 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
67e7ea5
Parents:
3cafb9a
git-author:
Sebastian Huber <sebastian.huber@…> (03/09/15 13:20:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/09/15 13:20:45)
Message:

atomic.h: Fix for GCC version 5 and later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/include/machine/atomic.h

    r3cafb9a re5724f7  
    4848
    4949#ifdef RTEMS_SMP
    50   #if defined(__cplusplus) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 9
     50  #if defined(__cplusplus) \
     51    && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9))
    5152    /*
    5253     * The GCC 4.9 ships its own <stdatomic.h> which is not C++ compatible.  The
Note: See TracChangeset for help on using the changeset viewer.