libmng build issues fix (#687)

This commit is contained in:
Calvin Hill
2016-07-09 14:14:28 +01:00
committed by waddlesplash
parent 70cf14f8cd
commit 77ce7d95f9
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From f96cd1e17baaac1c9064274252892515521f4f5f Mon Sep 17 00:00:00 2001
From: Calvin Hill <calvin@hakobaito.co.uk>
Date: Sat, 9 Jul 2016 01:06:59 +0100
Subject: [PATCH] Fix libmng build issues
---
libmng_jpeg.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libmng_jpeg.c b/libmng_jpeg.c
index f5c43a4..e457d00 100644
--- a/libmng_jpeg.c
+++ b/libmng_jpeg.c
@@ -67,6 +67,9 @@
#include "libmng_pixels.h"
#include "libmng_jpeg.h"
+#define TRUE 1
+#define FALSE 0
+
#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
#pragma option -A /* force ANSI-C */
#endif
--
2.2.2