Commit 137a43b1 authored by Kai Samposalo's avatar Kai Samposalo

Symbian build fix

Ignore-this: 3aaecf52061a83f420f10ac083e1e628

darcs-hash:20090626065056-9e0af-ddf79dfd4afb163afa9563367fb1744854bd9a4a.gz
parent c12e36cc
......@@ -421,19 +421,20 @@ gboolean su_source_check(GSource *gs)
SuSource *ss = (SuSource *)gs;
su_port_t *self = ss->ss_port;
gint tout;
unsigned i, I;
unsigned I;
enter;
I = self->sup_n_waits;
#if SU_HAVE_POLL
unsigned i;
for (i = 0; i < I; i++) {
if (self->sup_waits[i].revents)
return TRUE;
}
#endif
(void)I;
return su_source_prepare(gs, &tout);
}
......
......@@ -223,8 +223,12 @@ sres_cache_get0(sres_htable_t *htable,
if (cname && dcount == derrorcount) {
/* Nothing found, trace CNAMEs */
struct frame *f, frame = { previous, domain };
unsigned hash = sres_hash_key(domain = cname->cn_cname);
unsigned hash;
struct frame *f, frame;
frame.previous = previous;
frame.domain = domain;
hash = sres_hash_key(domain = cname->cn_cname);
/* Check for cname loops */
for (f = previous; f; f = f->previous) {
......
......@@ -34,7 +34,8 @@
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
*/
#include <stdlib.h>
#include <sofia-sip/su_config.h>
#include "config.h"
#include <sofia-sip/heap.h>
......@@ -219,7 +220,11 @@ void su_smoothsort(void *base, size_t r, size_t N,
stretch s = { 1, 1, 1 };
size_t q;
array const array[1] = {{ base, less, swap }};
array array_i;
array* const array = &array_i;
array->less = less;
array->swap = swap;
array->m = base;
assert(less && swap);
......
......@@ -68,6 +68,9 @@ SOURCE strtoull.c
SOURCE su_string.c
SOURCE getopt.c
SOURCE poll.c
SOURCE smoothsort.c
SOURCE su_kqueue_port.c
SOURCE su_devpoll_port.c
SOURCEPATH ..\..\libsofia-sip-ua\bnf
......@@ -286,7 +289,6 @@ SYSTEMINCLUDE \epoc32\include\stdapis
SYSTEMINCLUDE \epoc32\include\stdapis\openssl
SYSTEMINCLUDE \epoc32\include\osextensions
SYSTEMINCLUDE \epoc32\include\osextensions\sofia-sip
SYSTEMINCLUDE \epoc32\include\stdapis\stlport
// Library dependencies
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment