build: get base of windows build for openzap going again (OPENZAP-55)

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@682 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris
2009-03-06 18:17:15 +00:00
parent 7cde4042ba
commit ea72f97b96
21 changed files with 1317 additions and 599 deletions

View File

@@ -17,7 +17,7 @@ struct entry
};
struct hashtable_iterator {
int pos;
unsigned int pos;
struct entry *e;
struct hashtable *h;
};

View File

@@ -239,6 +239,10 @@
else zap_log(ZAP_LOG_WARNING, "VETO Changing state on %d:%d from %s to %s\n", obj->span_id, obj->chan_id, zap_channel_state2str(st), zap_channel_state2str(s)); \
}
#ifdef _MSC_VER
/* The while(0) below throws a conditional expression is constant warning */
#pragma warning(disable:4127)
#endif
#define zap_set_state_locked_wait(obj, s) \
do { \
int __safety = 100; \