summaryrefslogtreecommitdiff
path: root/graphics/milton/files/patch-src_tiny__jpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/milton/files/patch-src_tiny__jpeg.h')
-rw-r--r--graphics/milton/files/patch-src_tiny__jpeg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/milton/files/patch-src_tiny__jpeg.h b/graphics/milton/files/patch-src_tiny__jpeg.h
new file mode 100644
index 000000000000..44c8cf67a464
--- /dev/null
+++ b/graphics/milton/files/patch-src_tiny__jpeg.h
@@ -0,0 +1,11 @@
+--- src/tiny_jpeg.h.orig 2019-03-15 04:11:43 UTC
++++ src/tiny_jpeg.h
+@@ -217,7 +217,7 @@ static uint8_t tjei_g_output_buffer[TJEI_BUFFER_SIZE];
+
+ #ifdef _WIN32
+ #define tje_log(msg) OutputDebugStringA(msg)
+-#elif defined(__linux__) || defined(__MACH__)
++#elif defined(__linux__) || defined(__MACH__) || defined(__FreeBSD__)
+ #define tje_log(msg) puts(msg)
+ #endif
+