Fix Nebiros bustage by not including time.h, r=cls

This commit is contained in:
disttsc%bart.nl 2001-03-20 06:19:56 +00:00
Родитель b557233075
Коммит fc65fd543f
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -61,4 +61,15 @@ endif
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
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
CXXFLAGS += $(MOZ_GTK_CFLAGS) CXXFLAGS += $(MOZ_GTK_CFLAGS)