Minor fixes in dirent.c and dirent.h for Windows NT

This commit is contained in:
Pavel Machek 1998-04-17 02:04:43 +00:00
parent b4dadfbecd
commit 618d865e21
2 changed files with 1 additions and 8 deletions

View File

@ -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 */

View File

@ -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)
{