mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* socket.c: define uint32_t if netdb.h doesn't. thanks to
Dale P. Smith.
This commit is contained in:
parent
c5316ea33f
commit
0012013017
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-05-04 Gary Houston <ghouston@arglist.com>
|
||||
|
||||
* socket.c: define uint32_t if netdb.h doesn't. thanks to
|
||||
Dale P. Smith.
|
||||
|
||||
2001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
|
||||
|
||||
* rw.c: Include "modules.h" and "strports.h".
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue