summaryrefslogtreecommitdiffstats
path: root/common/canvas_utils.c
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2011-05-12 15:09:12 +0300
committerArnon Gilboa <agilboa@redhat.com>2011-05-12 15:21:08 +0300
commit483d13ce611686c37d766e0a38fdf9aae1d39fe5 (patch)
tree845877ff31940affc040ce934be2116159f848b4 /common/canvas_utils.c
parent8776562115ab22b76e30eed3379122477ed00372 (diff)
downloadspice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.tar.gz
spice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.tar.xz
spice-483d13ce611686c37d766e0a38fdf9aae1d39fe5.zip
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.
Diffstat (limited to 'common/canvas_utils.c')
-rw-r--r--common/canvas_utils.c2
1 files changed, 1 insertions, 1 deletions
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;