jigdo API
Last update by Admin on 2010-05-23
dirent.hh
Go to the documentation of this file.00001 /* $Id: dirent.hh,v 1.3 2003/03/03 20:47:16 richard Exp $ -*- C++ -*- 00002 __ _ 00003 |_) /| Copyright (C) 2001-2002 | richard@ 00004 | \/¯| Richard Atterer | atterer.net 00005 ¯ '` ¯ 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License, version 2. See 00008 the file COPYING for details. 00009 00010 */ 00016 #ifndef DIRENT_HH 00017 #define DIRENT_HH 00018 00019 /* Work around clash of definitions of 'struct dirent' and 'struct 00020 DIR'; both MinGW and glib define them. */ 00021 #include <config.h> 00022 #if DIRENT_HACK 00023 # if DEBUG 00024 # warning "horrible preprocessor hack to fix glib/MinGW dirent conflict" 00025 # endif 00026 # include <dirent.h> 00027 # include <gtypes.h> 00028 # define dirent glibHack_seeConfigH_dirent 00029 # define DIR glibHack_seeConfigH_DIR 00030 # define g_win32_opendir glibHack_seeConfigH_g_win32_opendir 00031 # define g_win32_readdir glibHack_seeConfigH_g_win32_readdir 00032 # define g_win32_closedir glibHack_seeConfigH_g_win32_closedir 00033 # define g_win32_rewinddir glibHack_seeConfigH_g_win32_rewinddir 00034 # include <glib.h> 00035 # undef dirent 00036 # undef DIR 00037 # undef g_win32_opendir 00038 # undef g_win32_readdir 00039 # undef g_win32_closedir 00040 # undef g_win32_rewinddir 00041 # undef ftruncate 00042 # undef opendir 00043 # undef readdir 00044 # undef rewinddir 00045 # undef closedir 00046 # else 00047 # include <dirent.h> 00048 #endif 00049 00050 00051 #endif
Generated on Tue Sep 23 14:27:41 2008 for jigdo by
