Skip to content

Commit 14683d3

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3b49e8e commit 14683d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Include/httpClient/pal.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ typedef int32_t HRESULT;
8989
#define __cdecl
9090
#endif
9191

92-
#ifndef __stdcal
92+
#ifndef __stdcall
9393
#define __stdcall
9494
#endif
9595

@@ -133,7 +133,9 @@ typedef void* HANDLE;
133133
#define FACILITY_INTERNET 12
134134
#define FACILITY_HTTP 25
135135

136+
#ifndef _HRESULT_TYPEDEF_
136137
#define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
138+
#endif
137139
#define __HRESULT_FROM_WIN32(x) ((HRESULT)(x) <= 0 ? ((HRESULT)(x)) : ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)))
138140

139141
#define S_OK _HRESULT_TYPEDEF_(0x00000000L)

0 commit comments

Comments
 (0)