Changeset 21400 for trunk/include/odin.h


Ignore:
Timestamp:
Jul 29, 2010, 10:33:00 PM (15 years ago)
Author:
dmik
Message:

GCC 4.x.x supports unnamed structs and unions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/odin.h

    r21299 r21400  
    8787  #define INLINE    __inline__
    8888  #define UNALIGNED
    89   #define NONAMELESSUNION
    90   #define NONAMELESSSTRUCT
     89  #if (__GNUC__ < 4)
     90    #define NONAMELESSUNION
     91    #define NONAMELESSSTRUCT
     92  #endif
    9193  #ifdef __INNOTEK_LIBC__
    9294  #define SYSTEM    _System
Note: See TracChangeset for help on using the changeset viewer.