don't defined the dirent struct if DIRENT_DEFINED is defined...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@329 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-04-30 13:18:59 +00:00
parent 000cff80a1
commit ef476e3a09

View file

@ -20,11 +20,15 @@
#ifndef _DIR_H_ #ifndef _DIR_H_
#define _DIR_H_ #define _DIR_H_
#ifndef DIRENT_DEFINED
struct dirent { struct dirent {
unsigned char d_name[256]; unsigned char d_name[256];
int attribute; int attribute;
int size; int size;
}; };
#endif
#ifndef SIMULATOR #ifndef SIMULATOR
typedef struct { typedef struct {