Yang Tse
ceb49d3742
Get rid of ENABLE_64BIT symbol definition and usage.
...
Improve HAVE_LONGLONG symbol description.
2008-08-21 00:06:15 +00:00
Yang Tse
1c68e79091
Simplify condition check
2008-08-20 23:29:07 +00:00
Yang Tse
0033535e21
Oops, missed FORMAT_OFF_TU
2008-08-16 03:40:25 +00:00
Yang Tse
ad638da2c2
Library internal only C preprocessor macros FORMAT_OFF_T and FORMAT_OFF_TU
...
remain in use as internal curl_off_t print formatting strings for the internal
*printf functions which still cannot handle print formatting string directives
such as "I64d", "I64u", and others available on MSVC, MinGW, Intel's ICC, and
other DOS/Windows compilers.
This reverts previous commit part which did:
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-16 01:33:59 +00:00
Yang Tse
66fb9ca5f6
For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,
...
the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.
CURL_FMT_OFF_T -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.
FORMAT_OFF_T -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
2008-08-15 02:58:15 +00:00
Yang Tse
24b1890710
s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g
2008-08-11 01:22:57 +00:00
Yang Tse
14240e9e10
Initial support of curlbuild.h and curlrules.h which allows
...
to have a curl_off_t data type no longer gated to off_t.
2008-08-07 00:29:08 +00:00
Yang Tse
5febd06c25
Sync comment with reality.
2008-07-30 08:21:25 +00:00
Yang Tse
1ac1212925
setup.h handles definition of _REENTRANT based on NEED_REENTRANT
...
definition which might be defined in config.h or config-*.h files
2008-07-27 03:16:37 +00:00
Yang Tse
f22114aeed
minor reordering in OS/400 config/setup files
2008-07-22 00:12:06 +00:00
Gisle Vanem
3e5292a052
Undefine 'byte' due to dict.c.
2008-07-21 15:39:54 +00:00
Yang Tse
0f50cd7623
Move _REENTRANT definition earlier in lib/setup.h
2008-07-14 17:31:39 +00:00
Yang Tse
669c555874
Removed inclusion of remaining system header files from configuration files.
...
These are included from lib/setup.h or specific source code file.
2008-07-14 16:58:34 +00:00
Yang Tse
1cfb73a129
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
2008-07-14 16:10:29 +00:00
Yang Tse
fe7bb33af8
HTTP_ONLY definition check in lib/setup.h is now done once that configuration
...
file has been included. In this way if symbol is defined in the config file
it will no longer be ignored.
2008-07-14 12:39:50 +00:00
Daniel Stenberg
eb60ba23f5
- Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
...
which output the range using a signed variable where it should rather use
unsigned.
2008-06-30 13:07:05 +00:00
Dan Fandrich
1960eebc2d
Added support for running on Symbian OS.
2008-04-22 22:53:53 +00:00
Yang Tse
32195c673d
Define WIN32 when build target is Win32 API.
...
This also defines it for WinCE even though it is a subset of WIN32.
2007-11-08 18:13:54 +00:00
Patrick Monnerat
557cc55f6f
Porting library to OS/400
2007-08-23 14:30:24 +00:00
Dan Fandrich
de55038e33
Properly set USE_SSL on OS/400
2007-07-30 17:08:26 +00:00
Gunter Knauf
a4f36558fc
added NetWare-own file to provide some init functions (for now only CLIB);
...
added call to netware_init() in curl_global_init() to make sure it gets called before any library functions get used.
2007-07-11 21:34:22 +00:00
Gunter Knauf
ca3e5a6322
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).
2007-06-30 23:45:57 +00:00
Dan Fandrich
0427e94465
Added support for compiling under Minix 3.1.3 using ACK.
2007-05-17 06:04:44 +00:00
Yang Tse
be8a5d0aef
proper symbol definition check for all AmigaOS flavours
2007-02-28 14:45:48 +00:00
Gisle Vanem
d165bed2d6
Fix typo.
2007-02-26 03:38:26 +00:00
Yang Tse
69565afab0
Check for stdbool.h at configuration stage, and include it if available.
...
Check for lowercase 'bool' type at configuration stage. If not available
provide a suitable replacement with a type definition of 'unsigned char'
in setup_once.h
Move definitions of TRUE and FALSE to setup_once.h
2007-02-22 02:51:54 +00:00
Yang Tse
3a634a273a
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
2007-02-21 19:03:20 +00:00
Daniel Stenberg
7f70dbcad5
Rob Crittenden added support for NSS (Network Security Service) for the
...
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
2007-02-12 22:32:37 +00:00
Yang Tse
ef6f24a7ce
move DEBUGF macro definition to setup_once.h
2007-02-02 15:31:32 +00:00
Gunter Knauf
ddace02efe
fixed segfault when compiled with MingW32 and cmd or command shell.
2007-01-29 00:51:02 +00:00
Yang Tse
96445f1b7d
Introduce symbol USE_WINSOCK which will be defined when
...
using winsock or winsock2 API.
2006-10-18 15:57:49 +00:00
Yang Tse
71c6335293
Move definition of IS*() macros to setup_once.h
2006-10-18 03:41:19 +00:00
Daniel Stenberg
44d84ac164
Avoid typecasting a signed char to an int when using is*() functions, as that
...
could very well cause a negate number get passed in and thus cause reading
outside of the array usually used for this purpose.
We avoid this by using the uppercase macro versions introduced just now that
does some extra crazy typecasts to avoid byte codes > 127 to cause negative
int values.
2006-10-17 21:32:56 +00:00
Gisle Vanem
4f4277d9c7
Simplified #ifdef on WIN32; the statement
...
" !defined(__GNUC__) || defined(__MINGW32__)" implies
CygWin.
2006-09-03 13:52:07 +00:00
Gisle Vanem
9691a78f6b
Support other MS-DOS compilers (MSDOS is a djgpp built-in define).
2006-08-29 16:26:41 +00:00
Daniel Stenberg
5acadc9cd7
David McCreedy added CURLOPT_SOCKOPTFUNCTION and CURLOPT_SOCKOPTDATA to
...
allow applications to set their own socket options.
2006-08-29 14:39:33 +00:00
Yang Tse
f55924b3e0
Avoid redundant check. configure script takes care of not defining
...
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither
HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
2006-08-04 01:13:24 +00:00
Yang Tse
77b3bc239d
First step trying to avoid the multiple header inclusion and recursion nightmare.
...
Reintroduce checking for HAVE_MSG_NOSIGNAL in configure script, so that we don't depend on header inclusion order for a valid check.
2006-07-28 14:19:02 +00:00
Gisle Vanem
02938a010d
Changes for combination ENABLE_IPV6 and USE_ARES.
2006-07-21 04:22:44 +00:00
Dan Fandrich
684245d6ce
Changes to support building for eCos 1.3.1. This has been tested with
...
file: URLs only.
2006-07-19 22:27:49 +00:00
Yang Tse
8272874704
Place parenthesis surrounding macro parameters so that the use of sread and swrite is more intuitive.
2006-07-12 06:52:40 +00:00
Yang Tse
58176d1484
Use platform's native types for recv() and send() arguments.
2006-07-12 05:19:00 +00:00
Yang Tse
bc2f0c7dcb
Prevent definition of HAVE_WINxxx_H symbols and avoid inclusion of Windows headers when compiled with Cygwin in POSIX emulation mode.
2006-07-05 23:10:37 +00:00
Daniel Stenberg
990e56fb13
Brian Dessent's fixes for cygwin builds
2006-06-08 06:12:30 +00:00
Gisle Vanem
414c57d138
Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and
...
HAVE_PROCESS_H added for all except scc.
2006-04-26 17:11:05 +00:00
Daniel Stenberg
e6efecd054
avoid duplicate typedefs, as this type is also defined in our public headers
2006-04-10 13:14:14 +00:00
Daniel Stenberg
5a4b43848a
First commit of David McCreedy's EBCDIC and TPF changes.
2006-04-07 21:50:47 +00:00
Daniel Stenberg
67a83c1b34
David Shaw finally removed all traces of Gopher and we are now officially
...
not supporting it. It hasn't been functioning for years anyway, so this is
just finally stating what already was true. And a cleanup at the same time.
2006-01-16 22:14:37 +00:00
Daniel Stenberg
bda1e9aeab
Made the copyright year match the latest modification's year.
2006-01-09 13:17:14 +00:00
Gisle Vanem
4dcb930247
Include <sys/ioctl.h> before redefining ioctl().
2006-01-02 18:35:58 +00:00