mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fixes
This commit is contained in:
parent
360edafb43
commit
d5e9c59b9f
@ -1,46 +0,0 @@
|
||||
Index: include/curl/curl.h
|
||||
===================================================================
|
||||
RCS file: /cvs/curl/curl/include/curl/curl.h,v
|
||||
retrieving revision 1.5
|
||||
diff -u -r1.5 curl.h
|
||||
--- curl.h 1999/11/23 08:22:42 1.5
|
||||
+++ curl.h 1999/11/24 16:19:11
|
||||
@@ -365,9 +365,13 @@
|
||||
TIMECOND_LAST
|
||||
} TimeCond;
|
||||
|
||||
+#ifdef __BEOS__
|
||||
+#include <support/SupportDefs.h>
|
||||
+#else
|
||||
#ifndef __cplusplus /* (rabe) */
|
||||
typedef char bool;
|
||||
#endif /* (rabe) */
|
||||
+#endif
|
||||
|
||||
/**********************************************************************
|
||||
*
|
||||
Index: include/curl/setup.h
|
||||
===================================================================
|
||||
RCS file: /cvs/curl/curl/include/curl/setup.h,v
|
||||
retrieving revision 1.2
|
||||
diff -u -r1.2 setup.h
|
||||
--- setup.h 1999/10/17 11:18:34 1.2
|
||||
+++ setup.h 1999/11/24 16:19:11
|
||||
@@ -139,10 +139,17 @@
|
||||
#define DOT_CHAR "_"
|
||||
|
||||
#else
|
||||
+#ifdef __BEOS__
|
||||
+#define sclose(x) closesocket(x)
|
||||
+#define sread(x,y,z) recv(x,y,z,0)
|
||||
+#define swrite(x,y,z) send(x,y,z,0)
|
||||
+#define myalarm(x) alarm(x)
|
||||
+#else
|
||||
#define sclose(x) close(x)
|
||||
#define sread(x,y,z) read(x,y,z)
|
||||
#define swrite(x,y,z) write(x,y,z)
|
||||
#define myalarm(x) alarm(x)
|
||||
+#endif
|
||||
|
||||
#define PATH_CHAR ":"
|
||||
#define DIR_CHAR "/"
|
@ -357,14 +357,17 @@ typedef enum {
|
||||
HTTP: DELETE, TRACE and others
|
||||
FTP: to use a different list command
|
||||
*/
|
||||
T(CUSTOMREQUEST, OBJECTPOINT, 35),
|
||||
T(CUSTOMREQUEST, OBJECTPOINT, 36),
|
||||
|
||||
/* HTTP request, for odd commands like DELETE, TRACE and others */
|
||||
T(STDERR, OBJECTPOINT, 36),
|
||||
T(STDERR, OBJECTPOINT, 37),
|
||||
|
||||
/* Progress mode sets alternative progress mode displays, the only
|
||||
one defined today is 1 which makes the #-style progress bar. */
|
||||
T(PROGRESSMODE, LONG, 37),
|
||||
T(PROGRESSMODE, LONG, 38),
|
||||
|
||||
/* send linked-list of post-transfer QUOTE commands */
|
||||
T(POSTQUOTE, OBJECTPOINT, 39),
|
||||
|
||||
URGTAG_LASTENTRY /* the last unusued */
|
||||
} UrgTag;
|
||||
|
Loading…
Reference in New Issue
Block a user