summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-04-27 15:46:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-04-27 15:46:45 +0000
commit32966b50fcda0b716027380b0ef67e5ae5eca770 (patch)
treeb0d22ff47ea0b407b5f3c0bded3e5d878b2eb056
parenta5a51aaf5fd8de7903e3f14d65452c30eb2f837f (diff)
Define SSIZE_MAX if not defined
-rw-r--r--hcid/glib-ectomy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/glib-ectomy.h b/hcid/glib-ectomy.h
index 78cd9d8ad..b1ac263b1 100644
--- a/hcid/glib-ectomy.h
+++ b/hcid/glib-ectomy.h
@@ -24,6 +24,11 @@ typedef const void *gconstpointer;
typedef size_t gsize;
typedef ssize_t gssize;
+#ifndef SSIZE_MAX
+#define SSIZE_MAX INT_MAX
+#endif
+
+
typedef struct _GIOChannel {
int fd;
} GIOChannel;