VirtualBox

Changeset 3162 in vbox for trunk/include/iprt/cdefs.h


Ignore:
Timestamp:
Jun 19, 2007 8:07:27 PM (17 years ago)
Author:
vboxsync
Message:

#undef RT_MAX on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r3007 r3162  
    797797 */
    798798#define RT_ELEMENTS(aArray)         ( sizeof(aArray) / sizeof((aArray)[0]) )
     799
     800#ifdef __OS2__
     801/* Undefine RT_MAX since there is an unfortunate clash with the max
     802   resource type define in os2.h. */
     803# undef RT_MAX
     804#endif
    799805
    800806/** @def RT_MAX
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette