summaryrefslogtreecommitdiff
path: root/gutils.c
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-10-27 06:19:42 +0000
committerManish Singh <yosh@src.gnome.org>1998-10-27 06:19:42 +0000
commit215251e99dcaa18bda8ed70cdd8f0edc27de5f41 (patch)
treef7ba23e5dd94fa7a0c3e2ee5bf3f0d68f5342be5 /gutils.c
parenta8d04aa3e3f6fb7aab3d1f3700d3f0be72981b7f (diff)
downloadglib-215251e99dcaa18bda8ed70cdd8f0edc27de5f41.tar.gz
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
Diffstat (limited to 'gutils.c')
-rw-r--r--gutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gutils.c b/gutils.c
index dd42ef850..b451b9877 100644
--- a/gutils.c
+++ b/gutils.c
@@ -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);