changeset 572:3c6a0cb061c6 HEAD

EOVERFLOW doesn't exist everywhere, fallback it to EINVAL.
author Timo Sirainen <tss@iki.fi>
date Mon, 04 Nov 2002 07:20:42 +0200
parents 944dbdc61f3d
children c96607edbcb0
files src/lib/compat.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/compat.h	Mon Nov 04 07:04:04 2002 +0200
+++ b/src/lib/compat.h	Mon Nov 04 07:20:42 2002 +0200
@@ -97,4 +97,8 @@
 #define i_isupper(x) isupper((int) (unsigned char) (x))
 #define i_isxdigit(x) isxdigit((int) (unsigned char) (x))
 
+#ifndef EOVERFLOW
+#  define EOVERFLOW EINVAL
 #endif
+
+#endif