mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-17 01:01:17 +00:00
typedef socklen_t here if it doesn't exist.
This commit is contained in:
parent
69cbd2e370
commit
475353c278
1 changed files with 8 additions and 0 deletions
|
@ -104,6 +104,14 @@ void VID_UnlockBuffer (void);
|
||||||
# define vsnprintf _vsnprintf
|
# define vsnprintf _vsnprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_SOCKLEN_T
|
||||||
|
# ifdef HAVE_SIZE
|
||||||
|
typedef size_t socklen_t;
|
||||||
|
# else
|
||||||
|
typedef unsigned int socklen_t;
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_NUM_ARGVS 50
|
#define MAX_NUM_ARGVS 50
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue