fix makefile rules.

fix dtoa for 64 bit machines
This commit is contained in:
Vítor Santos Costa 2011-03-01 09:18:19 +00:00
parent 9f38705c17
commit 31909e3741
2 changed files with 5 additions and 2 deletions

View File

@ -77,7 +77,7 @@ BIF_OBJS = \
CptEntry.o \
BifInterface.o \
BifTest.o \
xmlParser/xmlParser.o
xmlParser.o
SOBJS=horus.@SO@
@ -85,6 +85,9 @@ SOBJS=horus.@SO@
all: $(SOBJS) biftest
# default rule
xmlParser.o : $(srcdir)/xmlParser/xmlParser.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
%.o : $(srcdir)/%.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@

View File

@ -30,7 +30,7 @@
#define MALLOC PL_malloc
#define FREE PL_free
#ifdef _REENTRANT
#if defined(_REENTRANT)||defined(__YAP_PROLOG__)
#define Long int /* 32-bits */
#define MULTIPLE_THREADS