Add WS5.0 std::tm workaround for build bustage

This commit is contained in:
cls%seawood.org 2000-07-28 08:20:51 +00:00
Родитель 847d576a56
Коммит cbee5ced3a
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -42,5 +42,15 @@ include $(topsrcdir)/config/rules.mk
CXXFLAGS += $(MOZ_GTK_CFLAGS)
ifeq ($(OS_ARCH), SunOS)
ifndef GNU_CC
# When using Sun's WorkShop compiler, including
# /wherever/workshop-5.0/SC5.0/include/CC/std/time.h
# causes most of these compiles to fail with:
# line 29: Error: Multiple declaration for std::tm.
# So, this gets around the problem.
DEFINES += -D_TIME_H=1
endif
endif