Skip to content

Commit

Permalink
Fix compilation errors on ARM (dotnet#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 authored Sep 6, 2021
1 parent 3d7a0c2 commit 3d29441
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/nativeaot/SmokeTests/PInvoke/PInvokeNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#define __stdcall
#endif

#if !defined(__cdecl)
#define __cdecl
#endif

#if (_MSC_VER >= 1400) // Check MSC version
#pragma warning(push)
#pragma warning(disable: 4996) // Disable deprecation
Expand Down

0 comments on commit 3d29441

Please sign in to comment.