OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [sys/] [dir.h] - Rev 1778

Go to most recent revision | Compare with Previous | Blame | View Log

#ifdef _SYS_DIRENT_H
#error "Can't include both sys/dir.h and sys/dirent.h"
#define _SYS_DIR_H
#endif
 
#ifndef _SYS_DIR_H
#define _SYS_DIR_H
 
#include <dirent.h>
 
#define direct	dirent
 
#undef DIRSIZ
#define DIRSIZ(dp)	((sizeof (struct direct) - (MAXNAMLEN+1)) + \
			 (((dp)->d_namlen+1 + 3) &~ 3))
 
#endif
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.