Skip to content

Commit

Permalink
Added support for running on Symbian OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Apr 22, 2008
1 parent ad1dd08 commit 1960eeb
Show file tree
Hide file tree
Showing 25 changed files with 1,158 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Expand Up @@ -7,6 +7,9 @@
Changelog


Daniel Fandrich (22 Apr 2008)
- Added support for running on Symbian OS.

Daniel Fandrich (18 Apr 2008)
- Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
and --help options.
Expand Down
3 changes: 2 additions & 1 deletion RELEASE-NOTES
Expand Up @@ -12,6 +12,7 @@ This release includes the following changes:

o CURLFORM_STREAM was added
o CURLOPT_NOBODY is now supported over SFTP
o curl can now run on Symbian OS

This release includes the following bugfixes:

Expand All @@ -21,7 +22,7 @@ This release includes the following bugfixes:
o configure now correctly recognizes Heimdal and MIT gssapi libraries
o malloc() failure check in Negotiate
o -i and -I together now work the same no matter what order they're used
* the typechecker can be bypassed by defining CURL_DISABLE_TYPECHECK
o the typechecker can be bypassed by defining CURL_DISABLE_TYPECHECK

This release includes the following known bugs:

Expand Down
12 changes: 12 additions & 0 deletions docs/INSTALL
Expand Up @@ -655,6 +655,17 @@ Minix
make


Symbian OS
==========
The Symbian OS port uses the Symbian build system to compile. From the
packages/Symbian/group/ directory, run:

bldmake bldfiles
abld build

to compile and install curl and libcurl.


CROSS COMPILE
=============
(This section was graciously brought to us by Jim Duey, with additions by
Expand Down Expand Up @@ -785,6 +796,7 @@ PORTS
- StrongARM (and other ARM) RISC OS 3.1, 4.02
- StrongARM/ARM7/ARM9 Linux 2.4, 2.6
- StrongARM NetBSD 1.4.1
- Symbian OS (P.I.P.S.)
- TPF
- Ultrix 4.3a
- UNICOS 9.0
Expand Down
8 changes: 4 additions & 4 deletions include/curl/curl.h
Expand Up @@ -33,7 +33,7 @@
* Define WIN32 when build target is Win32 API
*/

#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) && !defined(__SYMBIAN32__)
#define WIN32
#endif

Expand Down Expand Up @@ -62,7 +62,7 @@
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to
require it! */
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || defined(__minix)
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || defined(__minix) || defined(__SYMBIAN32__)
#include <sys/select.h>
#endif

Expand All @@ -86,10 +86,10 @@ extern "C" {
typedef void CURL;

/*
* Decorate exportable functions for Win32 DLL linking.
* Decorate exportable functions for Win32 and Symbian OS DLL linking.
* This avoids using a .def file for building libcurl.dll.
*/
#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB)
#if (defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__)) && !defined(CURL_STATICLIB)
#if defined(BUILDING_LIBCURL)
#define CURL_EXTERN __declspec(dllexport)
#else
Expand Down
2 changes: 1 addition & 1 deletion lib/Makefile.am
Expand Up @@ -34,7 +34,7 @@ EXTRA_DIST = Makefile.b32 Makefile.m32 Makefile.vc6 Makefile.riscos \
libcurl.framework.make libcurl.plist libcurl.rc config-amigaos.h \
amigaos.c amigaos.h makefile.amiga Makefile.netware nwlib.c nwos.c \
libcurl.imp msvcproj.head msvcproj.foot config-win32ce.h \
config-os400.h setup-os400.h \
config-os400.h setup-os400.h config-symbian.h \
Makefile.Watcom config-tpf.h $(DOCS) $(VCPROJ) mk-ca-bundle.pl

CLEANFILES = $(DSP) $(VCPROJ)
Expand Down

0 comments on commit 1960eeb

Please sign in to comment.