]> Shamusworld >> Repos - rmac/blob - dirent_lose.h
Version bump for last commit. :-)
[rmac] / dirent_lose.h
1 #ifndef __DIRENT_LOSE_H__
2 #define __DIRENT_LOSE_H__
3
4 #if defined(WIN32) || defined(WIN64)
5
6 // Microsoft™ Windows™ dependent code
7
8 // This is only needed to keep the compiler from throwing a fit, it's not meant
9 // to be used except as a sentinel (NULL/non-NULL).
10 typedef struct { int i; /* dummy member */ } DIR;
11
12 // These are the only two functions used from <dirent.h>
13 DIR * opendir(const char *);
14 int closedir(DIR *);
15
16 #endif
17
18 #endif  // __DIRENT_LOSE_H__