Commit 39a5f906 authored by rswindell's avatar rswindell
Browse files

Digital Mars CRTL does not include dirent functions (opendir, readdir, etc).

parent 6e172db1
......@@ -283,7 +283,7 @@ void DLLCALL globfree(glob_t* glob)
/****************************************************************************/
/* POSIX directory operations using Microsoft _findfirst/next API. */
/****************************************************************************/
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__DMC__)
DIR* opendir(const char* dirname)
{
DIR* dir;
......
......@@ -116,7 +116,7 @@ extern "C" {
/*****************************/
/* POSIX Directory Functions */
/*****************************/
#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__DMC__)
#include <io.h> /* _finddata_t */
/* dirent structure returned by readdir().
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment