VirtualBox

Changeset 57898 in vbox


Ignore:
Timestamp:
Sep 25, 2015 2:58:47 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102868
Message:

bldprogs: fix for cross-building with Windows as target.

Location:
trunk/src/bldprogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/Makefile.kmk

    r57809 r57898  
    6262endif
    6363
    64 BLDPROGS.win += VBoxPeSetVersion
     64ifeq ($(KBUILD_TARGET),win)
     65 BLDPROGS += VBoxPeSetVersion
     66endif
    6567VBoxPeSetVersion_TEMPLATE = VBoxBldProg
    6668VBoxPeSetVersion_SOURCES  = VBoxPeSetVersion.cpp
  • trunk/src/bldprogs/VBoxPeSetVersion.cpp

    r57809 r57898  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
    22 #include <Windows.h>
     22#ifdef RT_OS_WINDOWS
     23# include <Windows.h>
     24#else
     25# include <iprt/stdint.h>
     26# include "../VBox/Runtime/include/internal/ldrPE.h"
     27# include "../VBox/Runtime/include/internal/ldrMZ.h"
     28#endif
    2329#include <stdio.h>
    2430#include <string.h>
Note: See TracChangeset for help on using the changeset viewer.

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