OpenIndiana and Solaris port

This commit is contained in:
Ulrich Wilkens
2014-10-28 19:46:43 +01:00
committed by Jon Trulson
parent 42e891d9e7
commit 01d6c363fa
296 changed files with 1049 additions and 1091 deletions

View File

@@ -257,6 +257,7 @@ Boolean data_t::binaryIn(buffer& buf)
{
char c; buf.get(c);
flag = (data_t::flag_type)c;
char* cp;
unsigned int sz;
@@ -277,7 +278,8 @@ Boolean data_t::binaryIn(buffer& buf)
break;
}
buf.get(*(char*)&dt);
cp = (char*)&dt;
buf.get(*(long*)cp);
return true;
}