Mercurial > pub > dyncall > dyncall
changeset 612:086362f4ae3f
- test/plain_c++: reintroduced an empty __cdecl define for portability
author | Tassilo Philipp |
---|---|
date | Thu, 29 Sep 2022 13:31:30 +0200 |
parents | d94b053311a7 |
children | 3c3e321875f7 |
files | test/plain_c++/test_main.cc |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/plain_c++/test_main.cc Thu Sep 29 11:47:54 2022 +0200 +++ b/test/plain_c++/test_main.cc Thu Sep 29 13:31:30 2022 +0200 @@ -124,6 +124,12 @@ ValueUnion mValue; \ }; + +#if defined(DC__Arch_Intel_x86) && !defined(DC__C_MSVC) && !defined(__cdecl) +# define __cdecl +#endif + + TEST_CLASS(ValueThisDef, /*empty/default*/) /* default */ #if defined(DC__Arch_Intel_x86) TEST_CLASS(ValueThisCdecl, __cdecl) /* methods explicitly declared as cdecl */