summaryrefslogtreecommitdiff
path: root/lib/config-symbian.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-10-25 05:41:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-10-25 05:41:01 +0000
commite9c94cdd49b49266fab7b46ef613ac1ace38a7d3 (patch)
treec37497736d0c0f73b0657ea2985c965fd2f1454e /lib/config-symbian.h
parentd104216bbeed0b4ed13063f3b627d4d9527b6b08 (diff)
downloadcurl-e9c94cdd49b49266fab7b46ef613ac1ace38a7d3.tar.gz
Added experimental support for zlib and OpenSSL on Symbian OS.
Diffstat (limited to 'lib/config-symbian.h')
-rw-r--r--lib/config-symbian.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/config-symbian.h b/lib/config-symbian.h
index d35443f2c..70c2a5803 100644
--- a/lib/config-symbian.h
+++ b/lib/config-symbian.h
@@ -291,9 +291,6 @@
/* Define to 1 if you have the `ssl' library (-lssl). */
/*#define HAVE_LIBSSL 1*/
-/* if zlib is available */
-/*#define HAVE_LIBZ 1*/
-
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
@@ -619,9 +616,6 @@
/* Define to 1 if you have the <x509.h> header file. */
/* #undef HAVE_X509_H */
-/* if you have the zlib.h header file */
-/*#define HAVE_ZLIB_H 1*/
-
/* Define to 1 if you are building a native Windows target. */
/* #undef NATIVE_WINDOWS */
@@ -798,3 +792,14 @@
#ifndef __LONG_LONG_SUPPORTED
#define __LONG_LONG_SUPPORTED
#endif
+
+/* Enable appropriate header only when zlib support is enabled */
+#ifdef HAVE_LIBZ
+#define HAVE_ZLIB_H 1
+#endif
+
+/* Enable appropriate definitions only when OpenSSL support is enabled */
+#ifdef USE_SSL
+#define USE_OPENSSL 1
+#define USE_SSLEAY 1
+#endif