Re: ManEdit 0.4.0d



so it means
Solaris musthave somewhere, a defination for u_int8_t or a similar named
defination that is standard amoung Solarisis (not glib).

Perhaps it does, but my point is: why bother?  Manedit is a GTK
application, therefore it has access to GLIB datatypes.  So use the
GLIB datatypes instead of worrying about what flavor-of-the-day
Solaris has decided to call its 8-byte, unsigned integers.  My
previous typedef example comes up as a likely solution.

Then would it be safe to say,

#ifdef __SOLARIS__
# include <glib>
#endif

Then

#ifdef __SOLARIS__
# define u_int8_t       guint
/* and so on... */
#endif

Would that work out?

--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
..__                         ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]