зеркало из https://github.com/mozilla/gecko-dev.git
Hack to work around the std::tm error on Solaris using the Workshop compiler.
This commit is contained in:
Родитель
41540ce4d9
Коммит
c69942ec03
|
@ -43,6 +43,16 @@ INCLUDES += -I$(srcdir)/../..
|
|||
ifeq ($(OS_ARCH), Linux)
|
||||
DEFINES += -D_XOPEN_SOURCE=500
|
||||
endif
|
||||
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
|
||||
|
||||
ifndef MOZ_MONOLITHIC_TOOLKIT
|
||||
CXXFLAGS += $(MOZ_GTK_CFLAGS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче