VirtualBox

Ignore:
Timestamp:
Mar 7, 2014 4:07:46 AM (11 years ago)
Author:
vboxsync
Message:

VBoxGuest-darwin.cpp: release buld fix. "{;}" replaced with do{}while(0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp

    r50701 r50722  
    7878# define MODULE_NAME "VBoxGuest"
    7979# define PDEBUG(fmt, args...) \
    80      printf(MODULE_NAME ": DEBUG: %s:%d %s(): " fmt "\n", __FILE__, __LINE__, __FUNCTION__, ## args)
     80  do { \
     81      printf(MODULE_NAME ": DEBUG: %s:%d %s(): " fmt "\n", __FILE__, __LINE__, __FUNCTION__, ## args); \
     82  } while (0)
    8183#else
    82 # define PDEBUG(fmt, args...) { ; }
     84# define PDEBUG(fmt, args...) do {} while (0)
    8385#endif
    8486
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