1
0
Fork 0
forked from len0rd/rockbox

limits: define PATH_MAX in only one place.

(This is the first step towards making it larger)

Change-Id: I4cea522074c455e04c8d228cf6463fb6500c41a0
This commit is contained in:
Solomon Peachy 2025-08-25 10:06:21 -04:00
parent 6f107430f4
commit 7de9d8dae5
4 changed files with 5 additions and 6 deletions

View file

@ -21,6 +21,9 @@
/* HZ, TIME_AFTER, current_tick */
#include "kernel.h"
/* MAX_PATH */
#include "fs_defines.h"
/* Structure to record some info during processing call */
struct dsp_loop_context
{

View file

@ -26,6 +26,7 @@
#include <time.h>
#include "config.h"
#include "fs_attr.h"
#include "fs_defines.h"
#if defined (APPLICATION) || defined(CHECKWPS)
#include "filesystem-app.h"

View file

@ -29,11 +29,9 @@
#include <stdio.h>
#endif
#include "config.h"
#include "fs_defines.h"
#include "gcc_extensions.h"
#undef MAX_PATH /* this avoids problems when building simulator */
#define MAX_PATH 260
enum relate_result
{
/* < 0 == failure */

View file

@ -23,9 +23,6 @@
#include <stdbool.h>
#undef MAX_PATH /* this avoids problems when building simulator */
#define MAX_PATH 260
/* also used by fat.c so values must not change */
#define ATTR_READ_ONLY 0x01
#define ATTR_HIDDEN 0x02