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:
parent
6f107430f4
commit
7de9d8dae5
4 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue