[Gtkradiant] compiling cvs nightly on linux

Gef gtkradiant@zerowing.idsoftware.com
Tue, 22 Jan 2002 16:48:41 +1100


This is a multi-part message in MIME format.

--Multipart_Tue__22_Jan_2002_16:48:41_+1100_081cf6d8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Fixes compiling on linux

On Mon, 21 Jan 2002 10:23:58 +0100
Timothee Besset <ttimo@idsoftware.com> wrote:

> Plz look at the comments around the function that say 'hey I know it broke
> on linux'. Patches welcome
> 
> TTimo


--Multipart_Tue__22_Jan_2002_16:48:41_+1100_081cf6d8
Content-Type: application/octet-stream;
 name="linux_compile_jan22.patch"
Content-Disposition: attachment;
 filename="linux_compile_jan22.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtUE5hdXIgR3RrUmFkaWFudC9wbHVnaW5zL3Zmc3BrMy92ZnMuY3BwIHdvcmtpbmcvcGx1
Z2lucy92ZnNwazMvdmZzLmNwcAotLS0gR3RrUmFkaWFudC9wbHVnaW5zL3Zmc3BrMy92ZnMuY3Bw
CU1vbiBKYW4gMjEgMDc6NDU6MTggMjAwMgorKysgd29ya2luZy9wbHVnaW5zL3Zmc3BrMy92ZnMu
Y3BwCVR1ZSBKYW4gMjIgMTM6NTY6MjYgMjAwMgpAQCAtNTY2LDEwICs1NjYsMTEgQEAKICAgU3lz
X1ByaW50ZigidmZzRXh0cmFjdFJlbGF0aXZlUGF0aDogJXNcbiIsIGluKTsKICNlbmRpZgogCisj
aWZkZWYgV0lOMzIgIAogICBpZiAoc2hvcnRlbikKICAgewogICAgIC8vIG1ha2UgaXQgc2hvcnQK
LSAgICBpZiAoR2V0U2hvcnRQYXRoTmFtZShpbiwgbF9pbiwgTUFYX1BBVEgpID09IDApCisgICAg
aWYgKEdldFNob3J0UGF0aE5hbWUoaW4sIGxfaW4sIFBBVEhfTUFYKSA9PSAwKQogICAgIHsKICNp
ZmRlZiBEQkdfUkxUUEFUSAogICAgICAgU3lzX1ByaW50ZigiR2V0U2hvcnR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