mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:51:39 +08:00
635361d801
* Update to 5.2.1 * Modernize portfile * Enable shared lib * Handle system reallocarray * x-add-version * Disable GifDrawBoxedText8x8 on windows * Update git-tree * Add separate patch for GifDrawBoxedText8x8 * Update git-tree
37 lines
1.0 KiB
Diff
37 lines
1.0 KiB
Diff
diff --git a/gif_font.c b/gif_font.c
|
|
index d90783c..b682c7a 100644
|
|
--- a/gif_font.c
|
|
+++ b/gif_font.c
|
|
@@ -204,6 +204,7 @@ GifDrawRectangle(SavedImage *Image,
|
|
memset(bp + (i * Image->ImageDesc.Width), color, (size_t)w);
|
|
}
|
|
|
|
+#if !defined(_WIN32)
|
|
void
|
|
GifDrawBoxedText8x8(SavedImage *Image,
|
|
const int x, const int y,
|
|
@@ -257,5 +258,6 @@ GifDrawBoxedText8x8(SavedImage *Image,
|
|
border + LineCount * GIF_FONT_HEIGHT + border, fg);
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
/* end */
|
|
diff --git a/gif_lib.h b/gif_lib.h
|
|
index ebdbd3c..41bf7a2 100644
|
|
--- a/gif_lib.h
|
|
+++ b/gif_lib.h
|
|
@@ -290,10 +290,12 @@ extern void GifDrawRectangle(SavedImage *Image,
|
|
const int x, const int y,
|
|
const int w, const int d, const int color);
|
|
|
|
+#if !defined(_WIN32)
|
|
extern void GifDrawBoxedText8x8(SavedImage *Image,
|
|
const int x, const int y,
|
|
const char *legend,
|
|
const int border, const int bg, const int fg);
|
|
+#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|