From 483d13ce611686c37d766e0a38fdf9aae1d39fe5 Mon Sep 17 00:00:00 2001 From: Arnon Gilboa Date: Thu, 12 May 2011 15:09:12 +0300 Subject: common: use INLINE instead of inline needed for spice/common files used by the client, server & qxl driver. in windows _inline works for both c/c++, while inline is c++ only. compiling the client with mixed c/c++ code required this define. --- common/canvas_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/canvas_utils.c') diff --git a/common/canvas_utils.c b/common/canvas_utils.c index 604f5899..55b71599 100644 --- a/common/canvas_utils.c +++ b/common/canvas_utils.c @@ -100,7 +100,7 @@ spice_pixman_image_get_format(pixman_image_t *image) CANVAS_ERROR("Unknown pixman image type"); } -static inline pixman_image_t *__surface_create_stride(pixman_format_code_t format, int width, int height, +static INLINE pixman_image_t *__surface_create_stride(pixman_format_code_t format, int width, int height, int stride) { uint8_t *data; -- cgit