/[mcrypt]/libmcrypt/lib/libdefs.h
ViewVC logotype

Diff of /libmcrypt/lib/libdefs.h

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

revision 1.1.1.1 by nmav, Mon May 22 13:07:51 2000 UTC revision 1.18 by nmav, Sat Mar 9 20:29:03 2002 UTC
# Line 1  Line 1 
1    #ifndef ILIBDEFS_H
2    # define ILIBDEFS_H
3    
4  /* MAX_THREADS removed by Steve Underwood 1999/12/10 */  /* MAX_THREADS removed by Steve Underwood 1999/12/10 */
5    
6  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
7  # include <config.h>  # include <config.h>
8  #endif  #endif
9    
10  #include "../libltdl/ltdl.h"  
11    #ifdef HAVE_SYS_TYPES_H
12    # include <sys/types.h>
13    #endif
14    
15    #include "win32_comp.h"
16    
17    #ifdef USE_LTDL
18    # include <ltdl.h>
19    #else
20    # define lt_dlexit() 0
21    # define lt_dlinit() 0
22    # define lt_dlclose(x) 0
23    # define lt_dlsym(x,y) 0
24    # define lt_dlhandle void*
25    # define lt_ptr_t void*
26    # define lt_dlerror() 0
27    # define lt_dlopenext(x) 0
28    # define lt_dlsetsearchpath(x) 0
29    #endif
30    
31  #ifdef STDC_HEADERS  #ifdef STDC_HEADERS
 # include <string.h>  
32  # include <stdlib.h>  # include <stdlib.h>
33  # include <stdio.h>  # include <stdio.h>
34  #endif  # include <ctype.h>
35    # include <string.h>
 #ifdef HAVE_DIRENT_H  
 # include <dirent.h>  
36  #endif  #endif
37    
38  #ifdef HAVE_STRINGS_H  #ifdef HAVE_STRINGS_H
# Line 24  Line 43 
43  # include <unistd.h>  # include <unistd.h>
44  #endif  #endif
45    
46  #ifdef HAVE_LIBPTHREAD  #ifdef HAVE_SYS_ENDIAN_H
47  # include <pthread.h>  # include <sys/endian.h>
48    #endif
49    
50    #ifdef HAVE_MACHINE_ENDIAN_H
51    # include <machine/endian.h>
52    #endif
53    
54    #ifdef HAVE_ENDIAN_H
55    # include <endian.h>
56    #endif
57    
58    #ifdef HAVE_BYTESWAP_H
59    # include <byteswap.h>
60    #endif
61    
62    
63    #ifdef HAVE_READDIR_R
64    # define _POSIX_C_SOURCE 199506L
65    #endif
66    
67    #ifdef HAVE_DIRENT_H
68    # include <dirent.h>
69  #endif  #endif
70    
71  #if SIZEOF_UNSIGNED_LONG_INT == 4  #if SIZEOF_UNSIGNED_LONG_INT == 4
# Line 47  Line 87 
87  #endif  #endif
88    
89  #if SIZEOF_UNSIGNED_CHAR == 1  #if SIZEOF_UNSIGNED_CHAR == 1
90   typedef unsigned char word8;   typedef unsigned char byte;
91  #else  #else
92  # error "Cannot find an 8 bit char in your system, sorry."  # error "Cannot find an 8 bit char in your system, sorry."
93  #endif  #endif
# Line 60  Line 100 
100  # endif  # endif
101  #endif  #endif
102    
103    #ifdef USE_DMALLOC
104    # include <dmalloc.h>
105    #endif
106    
107    #endif /* LIBDEFS_H */
108    
 #define MAX_KEY_LEN 513 /* for gen_key */  

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.18

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26