VirtualBox

Changeset 8266

Show
Ignore:
Timestamp:
04/22/08 09:26:16 (7 months ago)
Author:
vboxsync
Message:

Removed annoying warnings about existing defines if FE/Qt4 is compiled.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/com/defs.h

    r8194 r8266  
    178178///////////////////////////////////////////////////////////////////////////// 
    179179 
    180 #if defined (RT_OS_DARWIN) 
    181   /* CFBase.h defines these*/ 
     180#if defined (RT_OS_DARWIN) || (defined (QT_VERSION) && (QT_VERSION >= 0x040000)) 
     181  /* CFBase.h defines these &  
     182   * qglobal.h from Qt4 defines these */ 
    182183# undef FALSE 
    183184# undef TRUE 
    184 #endif  /* RT_OS_DARWIN */ 
     185#endif  /* RT_OS_DARWIN || QT_VERSION */ 
    185186 
    186187#include <nsID.h> 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy