--- sql/pgsql/libltdl/config_fixed.h 2003/01/14 17:13:47 1.2 +++ sql/pgsql/libltdl/config_fixed.h 2012/06/20 22:21:49 1.4 @@ -1,13 +1,11 @@ /* pa_config_fixed.h. */ /* Configure file for autoconf-disabled platforms */ -/* tested only with MS Visual C++ V6 */ #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMORY_H 1 -# include #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRCHR 1 @@ -17,35 +15,7 @@ #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 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 +#define error_t int +#define LT_OBJDIR ".libs/" +#define LT_MODULE_EXT ".dll"