aboutsummaryrefslogtreecommitdiff
path: root/src/config-amigaos.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-13 08:35:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-13 08:35:57 +0000
commit36f76396ea913b4596e6af3e7114e800d9aafef9 (patch)
tree369b5e0229194c8ad638fbdb542b1e357bb29c94 /src/config-amigaos.h
parent1cb3cd1463c7a661863662dccf5c12600b4a4c70 (diff)
Diego Casorran's fixes to allow native AmigaOS builds
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 */