--- sql/pgsql/libltdl/config_fixed.h 2001/09/21 15:44:38 1.1 +++ sql/pgsql/libltdl/config_fixed.h 2003/01/14 17:13:47 1.2 @@ -2,81 +2,50 @@ /* Configure file for autoconf-disabled platforms */ /* tested only with MS Visual C++ V6 */ -/* Define to empty if the keyword does not work. */ -/* #undef const */ - -/* Define as __inline if that's what the C compiler calls it. */ -#define inline __inline - -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define if you have the libdl library or equivalent. */ -//#define HAVE_LIBDL 1 - -/* Define if you have the GNU dld library. */ -/* #undef HAVE_DLD */ - -/* Define if you have the shl_load function. */ -/* #undef HAVE_SHL_LOAD */ - -/* Define if you have the dlerror function. */ -//#define HAVE_DLERROR 1 - -/* Define if you have the index function. */ -/* #undef HAVE_INDEX */ - -/* Define if you have the rindex function. */ -/* #undef HAVE_RINDEX */ - -/* Define if you have the strchr function. */ -#define HAVE_STRCHR 1 - -/* Define if you have the strrchr function. */ -#define HAVE_STRRCHR 1 - -/* Define if you have the header file. */ #define HAVE_CTYPE_H 1 - -/* Define if you have the header file. */ -/* #undef HAVE_DL_H */ - -/* Define if you have the header file. */ -/* #undef HAVE_DLD_H */ - -/* Define if you have the header file. */ -//#define HAVE_DLFCN_H 1 - -/* Define if you have the header file. */ -#define HAVE_MALLOC_H 1 - -/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 - -/* Define if you have the header file. */ +# include #define HAVE_STDIO_H 1 - -/* Define if you have the header file. */ #define HAVE_STDLIB_H 1 - -/* Define if you have the header file. */ +#define HAVE_STRCHR 1 +#define HAVE_STRCMP 1 +#define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 - -/* Define if you have the header file. */ -/* #undef HAVE_STRINGS_H */ - -/* Define to the extension used for shared libraries, say, .so. */ -#define LTDL_SHLIB_EXT ".dll" - -/* Define to the name of the environment variable that determines the dynamic library search path. */ -#define LTDL_SHLIBPATH_VAR "PATH" - -/* Define to the sub-directory in which libtool stores uninstalled libraries. */ +#define HAVE_STRRCHR 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 #define LTDL_OBJDIR ".libs/" +#define LTDL_SHLIB_EXT ".dll" +/* + MS is shy to admit it implements stdc when compiled with lang extensions + without lang extensions libltdl does not compile +*/ +#define __STDC__ 1 +#define error_t int +#define inline __inline -/* Define if libtool can extract symbol lists from object files. */ -//#define HAVE_PRELOADED_SYMBOLS 1 - -/* Define if dlsym() requires a leading underscode in symbol names. */ -//#define NEED_USCORE 1 +#define R_OK 4 +/* dirent.h replacement */ +#include +#include +#define access(name, flags) _access(name, flags) +struct dirent { + char *d_name; +}; +typedef void DIR; + +#define LT_D_NAMLEN(dirent) (0) + +inline DIR *opendir(const char *name) { + return 0; +} +inline struct dirent *readdir(DIR *dir) { + return 0; +} +inline int closedir(DIR *dir) { + return 0; +} \ No newline at end of file