37 lines
1 KiB
Diff
37 lines
1 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
|
||
|
}
|