1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-10 14:12:58 +00:00

performed changes for Fedora release 19

This commit is contained in:
Gerhard Rieger 2014-01-12 21:07:38 +01:00
parent 7a348bdfd5
commit 77a9c7ae10
3 changed files with 20 additions and 41 deletions

View file

@ -1,5 +1,5 @@
/* source: procan-cdefs.c */
/* Copyright Gerhard Rieger 2008 */
/* Copyright Gerhard Rieger */
/* Published under the GNU General Public License V.2, see file COPYING */
/* a function that prints compile time parameters */
@ -20,7 +20,7 @@ int procan_cdefs(FILE *outfile) {
fprintf(outfile, "#define FD_SETSIZE %u\n", FD_SETSIZE);
#endif
#ifdef NFDBITS
fprintf(outfile, "#define NFDBITS "F_Zu"\n", NFDBITS);
fprintf(outfile, "#define NFDBITS %u\n", (unsigned int)NFDBITS);
#endif
#ifdef O_RDONLY
fprintf(outfile, "#define O_RDONLY %u\n", O_RDONLY);