summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-03-23 18:29:03 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-03-23 18:29:03 +0000
commit26a74c38a20dd1c49f11c760f978da442262a871 (patch)
treee32411f472018676db9d287f488f09f9bb17d379 /cpp
parentbug 2064 (diff)
downloadice-26a74c38a20dd1c49f11c760f978da442262a871.tar.bz2
ice-26a74c38a20dd1c49f11c760f978da442262a871.tar.xz
ice-26a74c38a20dd1c49f11c760f978da442262a871.zip
Fixed build to not build the customEvictor demo on Mac OS X
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Freeze/Makefile5
-rw-r--r--cpp/demo/Freeze/customEvictor/README3
2 files changed, 7 insertions, 1 deletions
diff --git a/cpp/demo/Freeze/Makefile b/cpp/demo/Freeze/Makefile
index dd3793652a0..b4dc2f4e285 100644
--- a/cpp/demo/Freeze/Makefile
+++ b/cpp/demo/Freeze/Makefile
@@ -11,7 +11,10 @@ top_srcdir = ../..
include $(top_srcdir)/config/Make.rules
-SUBDIRS = phonebook bench library backup customEvictor
+SUBDIRS = phonebook bench library backup
+ifneq ($(UNAME),Darwin)
+SUBDIRS += customEvictor
+endif
$(EVERYTHING)::
@for subdir in $(SUBDIRS); \
diff --git a/cpp/demo/Freeze/customEvictor/README b/cpp/demo/Freeze/customEvictor/README
index a141409257a..aaa11afba3c 100644
--- a/cpp/demo/Freeze/customEvictor/README
+++ b/cpp/demo/Freeze/customEvictor/README
@@ -1,3 +1,6 @@
+NOTE: this demo is not supported on Mac OS X due to the lack of
+support for the "__thread" specifier (for thread-local storage).
+
This demo shows how to write a custom evictor using IceUtil::Cache,
and compares the performance of this evictor to the performance of
a simple evictor implemented using EvictorBase (described in the