/[pkg-mixmaster]/trunk/Mix/Src/maildir.c
ViewVC logotype

Diff of /trunk/Mix/Src/maildir.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 160 by weaselp, Wed Aug 21 16:23:00 2002 UTC revision 162 by weaselp, Wed Aug 21 18:01:58 2002 UTC
# Line 12  Line 12 
12    
13  #include "mix3.h"  #include "mix3.h"
14    
15    #ifdef WIN32
16    #include <io.h>
17    #include <direct.h>
18    #include <process.h>
19    #define sleep(s) Sleep(s*1000)
20    #define S_IWUSR _S_IWRITE
21    #define S_IRUSR _S_IREAD
22    #else
23  #include <unistd.h>  #include <unistd.h>
24    #endif
25  #include <fcntl.h>  #include <fcntl.h>
26  #include <time.h>  #include <time.h>
27  #include <string.h>  #include <string.h>
# Line 22  Line 31 
31  #include <stdarg.h>  #include <stdarg.h>
32  #include <assert.h>  #include <assert.h>
33    
34    #if defined(S_IFDIR) && !defined(S_ISDIR)
35    #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
36    #endif
37    
38  static unsigned long namecounter = 0;  static unsigned long namecounter = 0;
39    
40  int checkDirectory(char *dir, char *append, int create) {  int checkDirectory(char *dir, char *append, int create) {

Legend:
Removed from v.160  
changed lines
  Added in v.162

  ViewVC Help
Powered by ViewVC 1.1.5