summaryrefslogtreecommitdiffstats
path: root/lang/guile/files/patch-srfi_srfi-4.c
blob: e4fb17f3e3d4bcb7614dbc8e860366c790b9b01f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- srfi/srfi-4.c.orig  Sat Nov 20 17:30:56 2004
+++ srfi/srfi-4.c   Sat Nov 20 17:31:55 2004
@@ -50,6 +50,10 @@
 #include <string.h>
 #include <stdio.h>
 
+#ifndef SIZE_MAX
+#define SIZE_MAX ((size_t) (-1))
+#endif
+
 /* For brevity and maintainability, we define our own types for the
    various integer and floating point types.  */
 typedef unsigned char int_u8;