# HG changeset patch # User truelight # Date 1169800079 0 # Node ID db7a27cf1f4dc95c05ed420825fbe71b2a92090c # Parent 2ff9c5f3bfa423737265005d647755a33ec4a86a (svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish. diff -r 2ff9c5f3bfa4 -r db7a27cf1f4d src/network/core/os_abstraction.h --- a/src/network/core/os_abstraction.h Fri Jan 26 07:50:34 2007 +0000 +++ b/src/network/core/os_abstraction.h Fri Jan 26 08:27:59 2007 +0000 @@ -124,6 +124,9 @@ #if defined(__MORPHOS__) || defined(__AMIGA__) # include # include // required for Open/CloseLibrary() + /* MorphOS defines his network functions with UBYTE arrays while we + * use char arrays. This gives tons of unneeded warnings */ +# define UBYTE char # if defined(__MORPHOS__) # include // FIO* defines # include // SIO* defines