Jacek Caban : httpapi/tests: Use DECLSPEC_ALIGN in MSVC compatible way.
Alexandre Julliard
julliard at winehq.org
Mon Apr 20 15:48:21 CDT 2020
Module: wine
Branch: master
Commit: 58b129ebb0d6db7f61bf6a4e9e066a4eceb00ee7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=58b129ebb0d6db7f61bf6a4e9e066a4eceb00ee7
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 20 20:20:22 2020 +0200
httpapi/tests: Use DECLSPEC_ALIGN in MSVC compatible way.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/httpapi/tests/httpapi.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/httpapi/tests/httpapi.c b/dlls/httpapi/tests/httpapi.c
index fa39742cb1..b6bfbbccf0 100644
--- a/dlls/httpapi/tests/httpapi.c
+++ b/dlls/httpapi/tests/httpapi.c
@@ -446,7 +446,8 @@ static void test_v1_completion_port(void)
static void test_v1_multiple_requests(void)
{
- char DECLSPEC_ALIGN(8) req_buffer1[2048], DECLSPEC_ALIGN(8) req_buffer2[2048];
+ char DECLSPEC_ALIGN(8) req_buffer1[2048];
+ char DECLSPEC_ALIGN(8) req_buffer2[2048];
HTTP_REQUEST_V1 *req1 = (HTTP_REQUEST_V1 *)req_buffer1, *req2 = (HTTP_REQUEST_V1 *)req_buffer2;
HTTP_RESPONSE_V1 response = {};
struct sockaddr_in sockaddr;
@@ -552,7 +553,8 @@ static void test_v1_multiple_requests(void)
static void test_v1_short_buffer(void)
{
- char DECLSPEC_ALIGN(8) req_buffer[2048], DECLSPEC_ALIGN(8) req_buffer2[2048];
+ char DECLSPEC_ALIGN(8) req_buffer[2048];
+ char DECLSPEC_ALIGN(8) req_buffer2[2048];
HTTP_REQUEST_V1 *req = (HTTP_REQUEST_V1 *)req_buffer, *req2 = (HTTP_REQUEST_V1 *)req_buffer2;
HTTP_REQUEST_ID req_id;
unsigned short port;
More information about the wine-cvs
mailing list