File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 55
55
// No SAL on non Windows platforms
56
56
#include "cpprest/details/nosal.h"
57
57
58
- #if defined(__APPLE__ ) // Settings specific to Apple
59
- #define __cdecl
58
+ #if not defined __cdecl
59
+ #if defined cdecl
60
+ #define __cdecl __attribute__ ((cdecl))
60
61
#else
61
-
62
- // Settings specific to Linux and Android
63
-
64
- // Ignore cdecl on ANDROID ARM and 64bit
65
- #if defined(__ANDROID__ ) && defined(__arm__ ) || defined(__LP64__ )
66
62
#define __cdecl
67
- #else
68
- #define __cdecl __attribute__ ((cdecl))
69
63
#endif
70
64
71
65
#if defined(__ANDROID__ )
Original file line number Diff line number Diff line change 35
35
#endif
36
36
37
37
#include < string>
38
- #include < pplx/pplxinterface.h>
38
+ #include " pplx/pplxinterface.h"
39
39
40
40
#pragma pack(push,_CRT_PACKING)
41
41
// All header files are required to be protected from the macro new
Original file line number Diff line number Diff line change 46
46
#include < atomic>
47
47
#endif
48
48
49
- #if (defined(ANDROID) || defined(__ANDROID__))
50
- // This prevents users from requiring -Wno-attributes when using gcc-4.8 with the android NDK.
51
- #define _pplx_cdecl
52
- #else
53
49
#define _pplx_cdecl __cdecl
54
- #endif
55
50
56
51
namespace pplx
57
52
{
You can’t perform that action at this time.
0 commit comments