summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-06 23:26:32 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-06 23:26:32 +0200
commit96cc9f7650e5af28957dcfed202cf8011c067fc3 (patch)
treef2a1a28e7bb35ca8caac18a6143fbb38b43e73c9 /src
parent43c420729a2fd892bd8ec39331c1a5646a0bf7f6 (diff)
downloadwolfbones-96cc9f7650e5af28957dcfed202cf8011c067fc3.tar.gz
wolfbones-96cc9f7650e5af28957dcfed202cf8011c067fc3.tar.bz2
partially fixed on SPARC Solaris 8
Diffstat (limited to 'src')
-rw-r--r--src/GNUmakefile7
-rw-r--r--src/port/sys_internal.h5
2 files changed, 4 insertions, 8 deletions
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