VirtualBox

Ignore:
Timestamp:
Nov 21, 2024 9:59:02 AM (2 months ago)
Author:
vboxsync
Message:

Windows driver installation: Added INF installation testcases (dry-run mode). bugref:10762

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/VBoxWinDrvDefs.h

    r106923 r107076  
    4343#include <iprt/utf16.h>
    4444
    45 #if defined(RT_ARCH_AMD64)
    46 # define VBOXWINDRVINF_NATIVE_ARCH_STR     "AMD64"
    47 #elif defined(RT_ARCH_X86)
    48 # define VBOXWINDRVINF_NATIVE_ARCH_STR     "X86"
    49 #elif defined(RT_ARCH_ARM64)
    50 # define VBOXWINDRVINF_NATIVE_ARCH_STR     "ARM64"
    51 #else
    52 # error "Port me!"
     45/* If not defined explicitly, use the given / current target architecture. */
     46#ifndef VBOXWINDRVINF_NATIVE_ARCH_STR /* For cross testing and testcases. */
     47# if defined(RT_ARCH_AMD64)
     48#  define VBOXWINDRVINF_NATIVE_ARCH_STR     "AMD64"
     49# elif defined(RT_ARCH_X86)
     50#  define VBOXWINDRVINF_NATIVE_ARCH_STR     "X86"
     51# elif defined(RT_ARCH_ARM64)
     52#  define VBOXWINDRVINF_NATIVE_ARCH_STR     "ARM64"
     53# else
     54#  error "Port me!"
     55# endif
    5356#endif
    5457
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