VirtualBox

Changeset 7063 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Feb 20, 2008 9:11:32 PM (17 years ago)
Author:
vboxsync
Message:

r=bird: empty redefinition is *unsafe*. Always use do {} while (0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xclient/clipboard-new.cpp

    r7023 r7063  
    4242
    4343/* #define DEBUG_CLIPBOARD */
    44 #ifndef DEBUG_CLIPBOARD
     44#if !defined(DEBUG_CLIPBOARD) && !defined(LOG_TO_BACKDOOR)
     45  /* Disabled unnecessary debug logging in the shared clipboard when
     46     LOG_TO_BACKDOOR is defined (to be removed). */
    4547# undef LogFlow
    46 # define LogFlow(a)
     48# define LogFlow(a) do {} while (0)
    4749#endif
    4850
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