diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/unlocked-io.h | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
Diffstat (limited to 'gl/unlocked-io.h')
| -rw-r--r-- | gl/unlocked-io.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/unlocked-io.h b/gl/unlocked-io.h index 69ea6641..2b0d13e3 100644 --- a/gl/unlocked-io.h +++ b/gl/unlocked-io.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Prefer faster, non-thread-safe stdio functions if available. | 1 | /* Prefer faster, non-thread-safe stdio functions if available. |
| 2 | 2 | ||
| 3 | Copyright (C) 2001-2004, 2009-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2001-2004, 2009-2026 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
| @@ -73,6 +73,13 @@ | |||
| 73 | # define fgets_unlocked(x,y,z) fgets (x,y,z) | 73 | # define fgets_unlocked(x,y,z) fgets (x,y,z) |
| 74 | # endif | 74 | # endif |
| 75 | 75 | ||
| 76 | # if HAVE_DECL_FILENO_UNLOCKED || defined fileno_unlocked | ||
| 77 | # undef fileno | ||
| 78 | # define fileno(x) fileno_unlocked (x) | ||
| 79 | # else | ||
| 80 | # define fileno_unlocked(x) fileno (x) | ||
| 81 | # endif | ||
| 82 | |||
| 76 | # if HAVE_DECL_FPUTC_UNLOCKED || defined fputc_unlocked | 83 | # if HAVE_DECL_FPUTC_UNLOCKED || defined fputc_unlocked |
| 77 | # undef fputc | 84 | # undef fputc |
| 78 | # define fputc(x,y) fputc_unlocked (x,y) | 85 | # define fputc(x,y) fputc_unlocked (x,y) |
