# HG changeset patch # User truelight # Date 1169800079 0 # Node ID d61104781d9cb1e389f914b8f5e69bc911b7b846 # Parent 3f5dffd75f7c25f7ba0298716d13be99c680c51b (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 --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -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