mariadb/windows/dirent.h
Rich Prohaska c5cdf8f895 fixup some portability include files. addresses #1269
git-svn-id: file:///svn/toku/tokudb.1032b@8018 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00

26 lines
424 B
C

#ifndef _TOKU_DIRENT_H
#define _TOKU_DIRENT_H
#if defined(__cplusplus)
extern "C" {
#endif
//The DIR functions do not exist in windows, but the Linux API ends up
//just using a wrapper. We might convert these into an toku_os_* type api.
DIR *opendir(const char *name);
struct dirent *readdir(DIR *dir);
int closedir(DIR *dir);
#ifndef NAME_MAX
#define NAME_MAX 255
#endif
#if defined(__cplusplus)
};
#endif
#endif