#include <cstdio>
![](stdio_8h__incl.png)
![](stdio_8h__dep__incl.png)
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.
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products