Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c339753

Browse files
committed
Added HAVE_ macros for getpeername, getpid, setvbuf.
1 parent 478e718 commit c339753

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

PC/config.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,13 @@ typedef int pid_t;
330330
#define HAVE_FTIME
331331

332332
/* Define if you have getpeername. */
333-
/* #undef HAVE_GETPEERNAME */
333+
#define HAVE_GETPEERNAME
334334

335335
/* Define if you have getpgrp. */
336336
/* #undef HAVE_GETPGRP */
337337

338338
/* Define if you have getpid. */
339-
/* #undef HAVE_GETPID */
339+
#define HAVE_GETPID
340340

341341
/* Define if you have gettimeofday. */
342342
/* #undef HAVE_GETTIMEOFDAY */
@@ -365,6 +365,9 @@ typedef int pid_t;
365365
/* Define if you have setsid. */
366366
/* #undef HAVE_SETSID */
367367

368+
/* Define if you have setvbuf. */
369+
#define HAVE_SETVBUF
370+
368371
/* Define if you have siginterrupt. */
369372
/* #undef HAVE_SIGINTERRUPT */
370373

0 commit comments

Comments
 (0)