Annotation of parser3/src/lib/ltdl/config_fixed.h, revision 1.2.2.2
1.1 paf 1: /* pa_config_fixed.h. */
2: /* Configure file for autoconf-disabled platforms */
3: /* tested only with MS Visual C++ V6 */
4:
1.2.2.1 paf 5: #if _MSC_VER
6: #pragma warning(disable:4090 4022 4113 4018)
7: #endif
8:
1.1 paf 9: #define HAVE_CTYPE_H 1
1.2 paf 10: #define HAVE_ERRNO_H 1
11: #define HAVE_MEMCPY 1
12: #define HAVE_MEMMOVE 1
1.1 paf 13: #define HAVE_MEMORY_H 1
1.2 paf 14: # include <memory.h>
1.1 paf 15: #define HAVE_STDIO_H 1
16: #define HAVE_STDLIB_H 1
1.2 paf 17: #define HAVE_STRCHR 1
18: #define HAVE_STRCMP 1
19: #define HAVE_STRINGS_H 1
1.1 paf 20: #define HAVE_STRING_H 1
1.2 paf 21: #define HAVE_STRRCHR 1
22: #define HAVE_SYS_STAT_H 1
23: #define HAVE_SYS_TYPES_H 1
24: #define LTDL_OBJDIR ".libs/"
1.1 paf 25: #define LTDL_SHLIB_EXT ".dll"
1.2 paf 26: /*
27: MS is shy to admit it implements stdc when compiled with lang extensions
28: without lang extensions libltdl does not compile
29: */
30: #define __STDC__ 1
31: #define error_t int
32: #define inline __inline
1.1 paf 33:
1.2 paf 34: #define R_OK 4
1.1 paf 35:
1.2 paf 36: /* dirent.h replacement */
37: #include <windows.h>
38: #include <io.h>
39: #define access(name, flags) _access(name, flags)
40: struct dirent {
41: char *d_name;
42: };
43: typedef void DIR;
44:
45: #define LT_D_NAMLEN(dirent) (0)
46:
1.2.2.2 ! paf 47: inline DIR *opendir(const char* name) {
1.2 paf 48: return 0;
49: }
50: inline struct dirent *readdir(DIR *dir) {
51: return 0;
52: }
53: inline int closedir(DIR *dir) {
54: return 0;
55: }
E-mail: