VirtualBox

Changeset 83776 in vbox for trunk/include/iprt/nt


Ignore:
Timestamp:
Apr 17, 2020 6:00:45 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137301
Message:

iprt/asm*,++: Contain the intrin.h mess in iprt/win/msvc_intrin.h. Hack it for bs3kit and no-crt to avoid dragging in malloc.h from UCRT with VC++ 14.1. bugref:8489

Location:
trunk/include/iprt/nt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/ntddk.h

    r82968 r83776  
    3131
    3232/* Make sure we get the right prototypes. */
    33 #pragma warning(push)
    34 #pragma warning(disable:4668) /* Several incorrect __cplusplus uses. */
    35 #pragma warning(disable:4255) /* Incorrect __slwpcb prototype. */
    36 #include <intrin.h>
    37 #pragma warning(pop)
     33#include <iprt/win/msvc_intrin.h>
    3834
    3935#define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
  • trunk/include/iprt/nt/wdm.h

    r82968 r83776  
    3131
    3232/* Make sure we get the right prototypes. */
    33 #pragma warning(push)
    34 #pragma warning(disable:4668) /* Several incorrect __cplusplus uses. */
    35 #pragma warning(disable:4255) /* Incorrect __slwpcb prototype. */
    36 #include <intrin.h>
    37 #pragma warning(pop)
     33#include <iprt/win/msvc_intrin.h>
    3834
    3935#define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
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