#include <cstdio>
Go to the source code of this file.
Macros | |
#define | MAXPATHLEN SQUID_MAXPATHLEN |
Macro Definition Documentation
◆ MAXPATHLEN
#define MAXPATHLEN SQUID_MAXPATHLEN |
64-bit broken <cstdio>
<stdio.h> provides fgetpos64, fopen64 if USE_FILE_OFFSET64 is defined. It then checks whether a gcc-specific __REDIRECT macro is available (defined in <sys/cdefs.h>, depending on __GNUC begin available). If it is not available, it does a preprocessor #define. Which <cstdio> undefines, with this comment: "// Get rid of those macros defined in <stdio.h> in lieu of real functions.". When it does a namespace redirection ("namespace std { using ::fgetpos; }") it goes blam, as fgetpos64 is available, while fgetpos is not.