summaryrefslogtreecommitdiff
path: root/src/config-amigaos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config-amigaos.h')
-rw-r--r--src/config-amigaos.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config-amigaos.h b/src/config-amigaos.h
index 38a52d22f..ca700ad47 100644
--- a/src/config-amigaos.h
+++ b/src/config-amigaos.h
@@ -1,4 +1,7 @@
+#ifndef CURL_CONFIG_AMIGAOS_H
+#define CURL_CONFIG_AMIGAOS_H
+
#define OS "AmigaOS"
#define HAVE_UNISTD_H 1
@@ -27,4 +30,11 @@
#ifndef F_OK
# define F_OK 0
#endif
+#ifndef LONG_MAX
+# define LONG_MAX 0x7fffffffL /* max value for a long */
+#endif
+#ifndef LONG_MIN
+# define LONG_MIN (-0x7fffffffL-1) /* min value for a long */
+#endif
+#endif /* CURL_CONFIG_AMIGAOS_H */