mirror of
https://github.com/mist64/perfect6502.git
synced 2024-06-02 17:41:32 +00:00
3e60b6dd44
* also changed "clang" to "cc" * enabled optimizations for 64 bit (it's 10 years later!) * updated README to reflect CPU speed in 2020 (5x faster than 2014!) * added benchmarking instructions to README
28 lines
374 B
C
28 lines
374 B
C
#ifndef READDIR_H_INCLUDED
|
|
#define READDIR_H_INCLUDED
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifdef _WIN32
|
|
|
|
#ifndef MAX_PATH
|
|
#define MAX_PATH 260
|
|
#endif
|
|
|
|
struct dirent
|
|
{
|
|
char d_name[MAX_PATH];
|
|
};
|
|
|
|
typedef struct dir_private DIR;
|
|
|
|
DIR *opendir(const char *name);
|
|
struct dirent *readdir(DIR *dir);
|
|
int closedir(DIR *dir);
|
|
|
|
#else
|
|
#include <dirent.h>
|
|
#endif
|
|
|
|
#endif /* READDIR_H_INCLUDED */
|