reimplemented the endian stuff, using inline asm for x86. #define g_htonl

* glib.h: reimplemented the endian stuff, using inline asm for x86.
#define g_htonl and friends.

* testglib.c: new tests for the endian stuff

* configure.in: care for AIX in gmodule linker flags test (from Joel Becker
<jlbec@raleigh.ibm.com>). Check $host_os for linux instead of existance of
/usr/include/linux

* gutils.c: buh-bye evil warning. Thou hast been #ifdef'd out of thine
existance!

-Yosh
This commit is contained in:
Manish Singh
1998-10-27 06:19:42 +00:00
parent a8d04aa3e3
commit 215251e99d
15 changed files with 609 additions and 104 deletions

View File

@@ -552,7 +552,9 @@ g_iochannel_close_and_free (GIOChannel *channel)
void
g_iochannel_wakeup_peer (GIOChannel *channel)
{
#ifdef NATIVE_WIN32
static guint message = 0;
#endif
g_return_if_fail (channel != NULL);