mirror of https://github.com/MidnightCommander/mc
Minor fixes in dirent.c and dirent.h for Windows NT
This commit is contained in:
parent
b4dadfbecd
commit
618d865e21
|
@ -5,11 +5,6 @@
|
|||
#ifndef _DIRENT_H_incl
|
||||
#define _DIRENT_H_incl
|
||||
|
||||
#ifdef __WATCOMC__
|
||||
#include <direct.h>
|
||||
|
||||
#else
|
||||
|
||||
#ifdef __cplupplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -65,6 +60,4 @@ extern int rmdir( const char *__path );
|
|||
};
|
||||
#endif
|
||||
|
||||
#endif /* __WATCOMC__ */
|
||||
|
||||
#endif /* _DIRENT_H_incl */
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
#include <windows.h>
|
||||
#include <errno.h>
|
||||
#include "dirent.h"
|
||||
|
||||
DIR *opendir (const char * a_dir)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue