~ubuntu-branches/ubuntu/warty/binkd/warty

« back to all changes in this revision

Viewing changes to readdir.h

  • Committer: Bazaar Package Importer
  • Author(s): Marco d'Itri
  • Date: 2003-12-01 11:04:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20031201110412-bsri5sadmlwy3g54
Tags: 0.9.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 */
14
14
 
15
15
/*
16
 
 * $Id: readdir.h,v 2.0 2001/01/10 12:12:39 gul Exp $
 
16
 * $Id: readdir.h,v 2.6 2003/03/12 08:57:54 gul Exp $
17
17
 *
18
18
 * $Log: readdir.h,v $
 
19
 * Revision 2.6  2003/03/12 08:57:54  gul
 
20
 * Fix for MSVC
 
21
 *
 
22
 * Revision 2.5  2003/03/11 00:04:26  gul
 
23
 * Use patches for compile under MSDOS by MSC 6.0 with IBMTCPIP
 
24
 *
 
25
 * Revision 2.4  2003/03/10 12:16:53  gul
 
26
 * Use HAVE_DOS_H macro
 
27
 *
 
28
 * Revision 2.3  2003/03/10 11:40:09  gul
 
29
 * Use self opendir/readdir/closedir functions for watcom
 
30
 *
 
31
 * Revision 2.2  2003/03/01 20:16:27  gul
 
32
 * OS/2 IBM C support
 
33
 *
 
34
 * Revision 2.1  2001/09/24 10:31:39  gul
 
35
 * Build under mingw32
 
36
 *
19
37
 * Revision 2.0  2001/01/10 12:12:39  gul
20
38
 * Binkd is under CVS again
21
39
 *
26
44
#ifndef _readdir_h
27
45
#define _readdir_h
28
46
 
29
 
#if defined(__WATCOMC__) || defined(VISUALCPP) || defined(__IBMC__) || defined(__MSC__)
 
47
#if defined(__WATCOMC__)
 
48
#include <sys/utime.h>
 
49
#elif defined(VISUALCPP) || defined(IBMC) || defined(__MSC__)
30
50
#include <direct.h>
31
51
#include <sys/utime.h>
 
52
#elif defined(__MINGW32__)
 
53
#include <dirent.h>
 
54
#include <sys/utime.h>
32
55
#else
33
56
#include <dirent.h>
34
57
#include <utime.h>
35
58
#endif
36
59
 
37
60
#if defined(VISUALCPP)
38
 
#include "NT/dirwin32.h"
39
 
#endif
40
 
 
41
 
#if defined(WATCOMC_CLOSEDIR_BUG)
42
 
#define INCL_DOS
43
 
#include <os2.h>
44
 
#define closedir(d) (DosFindClose(*(HDIR *)((d)->d_dta)-2), closedir(d))
45
 
#endif
46
 
 
47
 
#if defined(__IBMC__)
 
61
#include "nt/dirwin32.h"
 
62
#endif
 
63
 
 
64
#if defined(IBMC) || defined(__WATCOMC__)
48
65
#include "os2/dirent.h"
49
66
#endif
50
67