guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core/libguile ChangeLog socket.c


From: Gary Houston
Subject: guile/guile-core/libguile ChangeLog socket.c
Date: Thu, 03 May 2001 16:42:31 -0700

CVSROOT:        /cvs
Module name:    guile
Changes by:     Gary Houston <address@hidden>   01/05/03 16:42:31

Modified files:
        guile-core/libguile: ChangeLog socket.c 

Log message:
        * socket.c: define uint32_t if netdb.h doesn't.  thanks to
        Dale P. Smith.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/libguile/ChangeLog.diff?cvsroot=OldCVS&tr1=1.1372&tr2=1.1373&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/libguile/socket.c.diff?cvsroot=OldCVS&tr1=1.72&tr2=1.73&r1=text&r2=text

Patches:
Index: guile/guile-core/libguile/ChangeLog
diff -u guile/guile-core/libguile/ChangeLog:1.1372 
guile/guile-core/libguile/ChangeLog:1.1373
--- guile/guile-core/libguile/ChangeLog:1.1372  Tue May  1 17:49:27 2001
+++ guile/guile-core/libguile/ChangeLog Thu May  3 16:42:31 2001
@@ -1,3 +1,8 @@
+2001-05-04  Gary Houston  <address@hidden>
+
+       * socket.c: define uint32_t if netdb.h doesn't.  thanks to
+       Dale P. Smith.
+
 2001-05-02  Marius Vollmer  <address@hidden>
 
        * rw.c: Include "modules.h" and "strports.h".
Index: guile/guile-core/libguile/socket.c
diff -u guile/guile-core/libguile/socket.c:1.72 
guile/guile-core/libguile/socket.c:1.73
--- guile/guile-core/libguile/socket.c:1.72     Sun Apr 22 12:52:41 2001
+++ guile/guile-core/libguile/socket.c  Thu May  3 16:42:31 2001
@@ -76,6 +76,16 @@
                      + strlen ((ptr)->sun_path))
 #endif
 
+#if !defined (HAVE_UINT32_T)
+#if SIZEOF_INT == 4
+typedef unsigned int uint32_t;
+#elif SIZEOF_LONG == 4
+typedef unsigned long uint32_t;
+#else
+#error can not define uint32_t
+#endif
+#endif
+
 /* we are not currently using socklen_t.  it's not defined on all systems,
    so would need to be checked by configure.  in the meantime, plain
    int is the best alternative.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]