[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] no EOVERFLOW on Windows?
From: |
Felix |
Subject: |
[Chicken-hackers] [PATCH] no EOVERFLOW on Windows? |
Date: |
Wed, 12 Oct 2011 04:30:55 -0400 (EDT) |
EOVERFLOW was not defined on my mingw system. Define it, if necessary.
cheers,
felix
>From 76723bd0f690d18777ee9994da2ca36723139152 Mon Sep 17 00:00:00 2001
From: felix <address@hidden>
Date: Wed, 12 Oct 2011 10:24:38 +0200
Subject: [PATCH 3/4] EOVERFLOW doesn't seem to be there, here in this mingw
version
---
runtime.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/runtime.c b/runtime.c
index 5e2f161..562e790 100644
--- a/runtime.c
+++ b/runtime.c
@@ -55,6 +55,10 @@
# define EX_SOFTWARE 70
#endif
+#ifndef EOVERFLOW
+# define EOVERFLOW 0
+#endif
+
#if !defined(C_NONUNIX)
# include <sys/types.h>
--
1.7.6.msysgit.0
- [Chicken-hackers] [PATCH] no EOVERFLOW on Windows?,
Felix <=