1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

Define one constant, PLATFORM_MAX_PATH, for maximum path value, so we don't have to do platform-specific conditionals everywhere we want to check it. In fact, we were actually checking that only for Windows. This is follow-on to Richard's message on audacity-devel about "overflow vulns".

Remove unnecessary declaration of MAX_PATH in BlockFile.h.
This commit is contained in:
v.audacity
2011-01-06 00:07:59 +00:00
parent 79e1db5ee6
commit 0332c60a2a
8 changed files with 49 additions and 52 deletions

View File

@@ -21,14 +21,6 @@
#include "xml/XMLTagHandler.h"
#include "xml/XMLWriter.h"
#if defined(_WIN32)
//taken from private.h (wxWidgets internal declarations)
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
#endif
class wxFFile;
class SummaryInfo {
public: