Minor fixes in dirent.c and dirent.h for Windows NT
Этот коммит содержится в:
родитель
b4dadfbecd
Коммит
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)
|
||||
{
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user