Yang Tse
fdecb56cbf
curl tool: reviewed code moved to tool_*.[ch] files
2011-09-19 18:18:17 +02:00
Yang Tse
93579cc363
src/setup.h: add conditional include of assert.h
2011-09-16 21:12:32 +02:00
Yang Tse
196e0d699f
setup_once.h cleanup and sync
2011-09-04 17:10:51 +02:00
Yang Tse
a405a8976d
revert changes not intended to be pushed with commit 6b75d2c2
2011-09-03 18:26:21 +02:00
Yang Tse
6b75d2c2df
fix a bunch of MSVC compiler warnings
2011-09-03 16:07:09 +02:00
Yang Tse
a6ed2b8426
BSD-style lwIP TCP/IP stack support:
...
Allow compilation of libcurl and curl using BSD-style lwIP on Win32.
In order to compile libcurl and curl with this support it is necessary
to edit files lib/config-win32.h and src/config-win32.h and uncomment
a line to make definition of preprocessor symbol USE_LWIPSOCK visible.
Afterwards you can compile as usual.
In order to use compiled library with BSD-style lwIP TCP/IP stack in
your program it is mandatory that you include lwIP header file <lwip/opt.h>
before including <curl/curl.h> or <curl/multi.h>
Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from:
http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip
http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip
Have fun!
2011-08-04 21:27:29 +02:00
Daniel Stenberg
aa87f0ab15
checksrc: whitespace and code style cleanup
...
Make everything adhere to the standards upheld by checksrc.pl and now
run checksrc from the makefile on debug builds.
2011-04-27 09:09:35 +02:00
Guenter Knauf
a00297158e
Moved S_ISREG define to setup as suggested by Dan.
2010-09-02 04:37:13 +02:00
Daniel Stenberg
2309b4e330
remove the CVSish $Id$ lines
2010-03-24 11:02:54 +01:00
Yang Tse
a07bc79117
removed trailing whitespace
2010-02-14 19:40:18 +00:00
Yang Tse
1cbc93fb54
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
Yang Tse
21af9bf1cd
Fix spelling
2009-10-27 16:56:20 +00:00
Gunter Knauf
f671d0513c
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
2009-07-14 13:25:14 +00:00
Yang Tse
2c93f889fd
DOS adjustments
2009-06-11 16:43:47 +00:00
Yang Tse
5a91746b80
David McCreedy's "TPF-platform specific changes to various files" patch
2009-05-01 12:39:40 +00:00
Yang Tse
62519bfe05
somewhat protect Mac OS X users from using Mac OS 9 config file
2008-09-05 01:27:24 +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
15f94858f2
Update copyright year.
2008-07-30 08:27:02 +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
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
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
Yang Tse
be8a5d0aef
proper symbol definition check for all AmigaOS flavours
2007-02-28 14:45:48 +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
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
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
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
Dan Fandrich
c6fc5a1a26
Moved strdup replacement from src/main.c into src/strdup.c so it's available
...
in libcurl as well, if necessary.
2006-07-11 17:02:06 +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
Daniel Stenberg
5a4b43848a
First commit of David McCreedy's EBCDIC and TPF changes.
2006-04-07 21:50:47 +00:00
Yang Tse
bc8590aa12
Windows related cleanup
2005-12-17 20:37:53 +00:00
Yang Tse
e105d5c28f
'Fix' windows builds
2005-12-16 20:55:07 +00:00
Daniel Stenberg
74e5beab9d
Doug Kaufman's set of patches to make curl build fine on DJGPP again using
...
configure.
2005-11-24 10:22:46 +00:00
Daniel Stenberg
d43ea83033
corrected copyright years
2005-05-02 14:33:58 +00:00
Daniel Stenberg
a8ff0a21bf
Based on feedback from Cory Nelson, I added some preprocessor magic in
...
*/setup.h and */config-win32.h to build fine with VS2005 on x64.
2005-04-24 22:25:04 +00:00
Daniel Stenberg
7ef6b05ef1
My reimplementation and cleanup of the getpass source code. We officially no
...
longer use Angus Mackay's getpass code due to the weirdo license his code was
donated to us under.
2004-12-25 22:08:02 +00:00
Daniel Stenberg
95b84adb9b
precaution to prevent double typedefs of the bool
2004-12-15 14:05:07 +00:00
Daniel Stenberg
b34d161703
moved the bool typedef to setup.h
2004-12-15 10:33:51 +00:00
Gunter Knauf
80c7566203
removed now obsolete ifdef.
2004-07-04 15:34:58 +00:00
Daniel Stenberg
5b75919f95
Marty Kuhrt's adjustments for a cleaner VMS build
2004-03-21 22:44:52 +00:00
Daniel Stenberg
5b55f9ecb3
Günter Knauf's NetWare changes.
2004-03-17 12:46:42 +00:00
Daniel Stenberg
b2ef40731a
Tom Bates' adjustment to build on his nsr-tandem-nsk.
2004-03-03 09:27:18 +00:00
Daniel Stenberg
9f437269fb
Define CURL_NO_OLDIES to prevent us from getting obsolete stuff defined.
2004-03-02 09:13:28 +00:00
Daniel Stenberg
d8ee927be2
define SIZEOF_CURL_OFF_T if not already defined
2004-01-23 07:41:05 +00:00
Daniel Stenberg
c3614fa6a3
Gisle Vanem updated the code for win32 and djgpp builds.
2004-01-14 07:42:10 +00:00
Daniel Stenberg
36f76396ea
Diego Casorran's fixes to allow native AmigaOS builds
2004-01-13 08:35:57 +00:00