From 58b129ebb0d6db7f61bf6a4e9e066a4eceb00ee7 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 20 Apr 2020 20:20:22 +0200 Subject: [PATCH] httpapi/tests: Use DECLSPEC_ALIGN in MSVC compatible way. Signed-off-by: Jacek Caban Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- 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 fa39742cb16..b6bfbbccf04 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;