VirtualBox

Changeset 16375 in vbox for trunk/src/VBox/Main/win


Ignore:
Timestamp:
Jan 29, 2009 4:18:25 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42220
Message:

Main/Windows: workaround for some header versions lacking the extern "C".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/HostPowerWin.cpp

    r16295 r16375  
    2424*******************************************************************************/
    2525#include <windows.h>
     26/* Some SDK versions lack the extern "C" and thus cause linking failures.
     27 * This workaround isn't pretty, but there are not many options. */
     28extern "C" {
    2629#include <PowrProf.h>
     30}
    2731
    2832#include <VBox/com/ptr.h>
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