From 96cc9f7650e5af28957dcfed202cf8011c067fc3 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 6 Jun 2010 23:26:32 +0200 Subject: partially fixed on SPARC Solaris 8 --- src/GNUmakefile | 7 ------- src/port/sys_internal.h | 5 ++++- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/GNUmakefile b/src/GNUmakefile index 89eff92..ab948de 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -64,13 +64,6 @@ DYNAMIC_LIB_PATCH = 0 local_all: -# snprintf has some quirks, mainly -Wfloat-equal doesn't allow the -# definition of ISNAN, ISINF, the C99 versions use math.h, ieee.h -# libmath and more, which is maybe not really acceptable for a core -# port (on the other hand so isn't NLS support!) -port/stdio.o : port/stdio.c $(TOPDIR)/include/wolf/port/stdio.h port/snprintf.h port/snprintf.c - $(CC) $(STD99_COMPILE_FLAGS) -c -o $@ $(INCLUDE_DIRS) $(PLATFORM_COMPILE_FLAGS) $< - local_clean: -@rm -f port/*.bak -@rm -f port/*~ diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index b673c21..8ff88cd 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -141,12 +141,15 @@ #define HAVE_PTRDIFF_T 1 #define HAVE_VA_COPY 0 #define HAVE___VA_COPY 0 +#define HAVE_DLFCN +#define NEEDS_LINK_H +#define WOLF_LIBRARY_DLERROR_CONST #else #if OS_MINOR_VERSION == 10 #define HAVE_LOCK_F #define HAVE_LOCALTIME_R #define HAVE_DLFCN -//#define NEEDS_LINK_H +#define NEEDS_LINK_H #define WOLF_LIBRARY_DLERROR_CONST #else #error unknown platform -- cgit v1.2.3-54-g00ecf