Re: [xml] [PATCH] libxml2-2.6.1 for BeOS
- From: shard neoni net
- To: Bjorn Reese <breese mail1 stofanet dk>
- Cc: xml gnome org
- Subject: Re: [xml] [PATCH] libxml2-2.6.1 for BeOS
- Date: Sat, 01 Nov 2003 15:37:11 +0100
Minor question.
+#if defined(__BEOS__)
+ {
+ bool noblock = true;
Should nonblock really be bool? setsockopt() usually takes ints.
Don't know, it worked with bool, but if it's more common to use int it
will work with int also.
I have it defined here this way:
int setsockopt(int sd, int prot, int opt, const void *data, unsigned
datasize);
so, in theory, it's ok to use any type of data as long as datasize is set
properly, but if it's more "clean" to use int, or long it's ok.
Regards
Shard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]