From 77f953364dc7e164d94171861355d57bd7d4c5a0 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Mon, 1 Oct 2012 10:38:44 +0200 Subject: Add Fontconfig solution --- win32/deps/fontconfig/dirent.h | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 win32/deps/fontconfig/dirent.h (limited to 'win32/deps/fontconfig/dirent.h') diff --git a/win32/deps/fontconfig/dirent.h b/win32/deps/fontconfig/dirent.h new file mode 100644 index 00000000..bbbfce52 --- /dev/null +++ b/win32/deps/fontconfig/dirent.h @@ -0,0 +1,50 @@ +#ifndef DIRENT_INCLUDED +#define DIRENT_INCLUDED + +/* + + Declaration of POSIX directory browsing functions and types for Win32. + + Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com) + History: Created March 1997. Updated June 2003. + Rights: See end of file. + +*/ + +#ifdef __cplusplus +extern "C" +{ +#endif + +typedef struct DIR DIR; + +struct dirent +{ + char *d_name; +}; + +DIR *opendir(const char *); +int closedir(DIR *); +struct dirent *readdir(DIR *); +void rewinddir(DIR *); + +/* + + Copyright Kevlin Henney, 1997, 2003. All rights reserved. + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose is hereby granted without fee, provided + that this copyright and permissions notice appear in all copies and + derivatives. + + This software is supplied "as is" without express or implied warranty. + + But that said, if there are any problems please get in touch. + +*/ + +#ifdef __cplusplus +} +#endif + +#endif -- cgit 1.4.1