shithub: jbig2

Download patch

ref: 07abb8a54e2d910e3b5a73341b7912948e0d0b61
parent: 5e5cff776abeb065e2c4ef5092256486fc3a2d35
author: Robin Watts <[email protected]>
date: Thu Aug 23 11:09:41 EDT 2012

Bug 693298; Memento tweak for memset compile problem.

Don't define memset if someone has already #defined it. Thanks to
William Bader.

--- a/memento.c
+++ b/memento.c
@@ -39,7 +39,9 @@
 #ifdef __MACH__
 #include <string.h>
 #else
+#ifndef memset
 void *memset(void *,int,size_t);
+#endif
 #endif
 int atexit(void (*)(void));
 #else