diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 14:33:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 14:33:23 +0000 |
commit | 3f255ce1312d0828ffb5f011c6efb42a4d385e36 (patch) | |
tree | 687751dd3714858537e6b57afb4adad0dced1603 /cpukit/mghttpd | |
parent | 64101ef1b6234b4982cdc1ecc90dbcce403a082e (diff) |
2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* mghttpd/mongoose.c: crypto_sw table is not used when SSL is disabled.
RTEMS does not have flockfile/funlockfile.
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r-- | cpukit/mghttpd/mongoose.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/mghttpd/mongoose.c b/cpukit/mghttpd/mongoose.c index b5cbb957d0..f863847491 100644 --- a/cpukit/mghttpd/mongoose.c +++ b/cpukit/mghttpd/mongoose.c @@ -168,6 +168,10 @@ typedef struct DIR { #if HAVE_SYS_MMAN_H #include <sys/mman.h> #endif +#if defined(__rtems__) +#define flockfile(x) (void) 0 +#define funlockfile(x) (void) 0 +#endif #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> @@ -307,6 +311,7 @@ static struct ssl_func ssl_sw[] = { {NULL, NULL} }; +#if !defined(NO_SSL) /* * Similar array as ssl_sw. These functions are located in different lib. */ @@ -316,6 +321,7 @@ static struct ssl_func crypto_sw[] = { {"CRYPTO_set_id_callback", NULL}, {NULL, NULL} }; +#endif /* * Month names |