aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-22 13:33:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-22 13:33:56 +0000
commit72d722b07b342a8fb985e98be6c4ffeaf947a890 (patch)
treebf705bbe3fdf5d9242fc4071376cd19744d61ad3
parent21fc402c0147804fba2326ccdc91fe04372caac6 (diff)
The timecond stuff now have CURL_ prefixes
-rw-r--r--include/curl/curl.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index abfe3e523..cf96c326d 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -561,15 +561,26 @@ enum {
typedef enum {
- TIMECOND_NONE,
+ CURL_TIMECOND_NONE,
- TIMECOND_IFMODSINCE,
- TIMECOND_IFUNMODSINCE,
- TIMECOND_LASTMOD,
+ CURL_TIMECOND_IFMODSINCE,
+ CURL_TIMECOND_IFUNMODSINCE,
+ CURL_TIMECOND_LASTMOD,
- TIMECOND_LAST
+ CURL_TIMECOND_LAST
} curl_TimeCond;
+/* for backwards compatibility */
+#ifndef TIMECOND_IFMODSINCE
+#define TIMECOND_IFMODSINCE CURL_TIMECOND_IFMODSINCE
+#endif
+#ifndef TIMECOND_IFUNMODSINCE
+#define TIMECOND_IFUNMODSINCE CURL_TIMECOND_IFUNMODSINCE
+#endif
+#ifndef TIMECOND_LASTMOD
+#define TIMECOND_LASTMOD CURL_TIMECOND_LASTMOD
+#endif
+
#ifdef __BEOS__
#include <support/SupportDefs.h>
#endif