get rid of duplicate #g_htonl and friends in the NATIVE_WIN32 part
authorManish Singh <yosh@src.gnome.org>
Tue, 27 Oct 1998 08:33:27 +0000 (08:33 +0000)
committerManish Singh <yosh@src.gnome.org>
Tue, 27 Oct 1998 08:33:27 +0000 (08:33 +0000)
-Yosh

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib.h
glib/glib.h

index 552ef24..8e34d63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
index 552ef24..8e34d63 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 27 00:27:31 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib.h: get rid of duplicate #g_htonl and friends in the
+       NATIVE_WIN32 part
+
 Mon Oct 26 22:42:01 PST 1998 Manish Singh <yosh@gimp.org>
 
        * glibconfig.h.win32
diff --git a/glib.h b/glib.h
index 0a4e31e..64ed88e 100644 (file)
--- a/glib.h
+++ b/glib.h
@@ -2321,25 +2321,9 @@ gint             gwin_closedir   (DIR            *dir);
 
 #endif /* _MSC_VER */
 
-#define g_ntohl(x) \
-  ((guint32)((((guint32)(x) & 0x000000ffU) << 24) | \
-            (((guint32)(x) & 0x0000ff00U) <<  8) | \
-            (((guint32)(x) & 0x00ff0000U) >>  8) | \
-            (((guint32)(x) & 0xff000000U) >> 24)))
-
-#define g_htonl(x)     g_ntohl(x)
-
-#define g_ntohs(x) \
-  ((guint16)((((guint16)(x) & 0x00ff) << 8) | \
-            (((guint16)(x) & 0xff00) >> 8)))
-
-#define g_htons(x)     g_ntohs(x)
-
 #endif /* NATIVE_WIN32 */
 
 
-
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */
index 0a4e31e..64ed88e 100644 (file)
@@ -2321,25 +2321,9 @@ gint             gwin_closedir   (DIR            *dir);
 
 #endif /* _MSC_VER */
 
-#define g_ntohl(x) \
-  ((guint32)((((guint32)(x) & 0x000000ffU) << 24) | \
-            (((guint32)(x) & 0x0000ff00U) <<  8) | \
-            (((guint32)(x) & 0x00ff0000U) >>  8) | \
-            (((guint32)(x) & 0xff000000U) >> 24)))
-
-#define g_htonl(x)     g_ntohl(x)
-
-#define g_ntohs(x) \
-  ((guint16)((((guint16)(x) & 0x00ff) << 8) | \
-            (((guint16)(x) & 0xff00) >> 8)))
-
-#define g_htons(x)     g_ntohs(x)
-
 #endif /* NATIVE_WIN32 */
 
 
-
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */