зеркало из https://github.com/mozilla/gecko-dev.git
Workaround for the build bustage on Solaris when using the Workshop compiler. a=leaf
This commit is contained in:
Родитель
6d70713607
Коммит
1301410dcc
|
@ -91,6 +91,16 @@ DEFINES += -D_IMPL_NS_WIDGET -DUSE_XIM
|
|||
ifeq ($(OS_ARCH), Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
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
|
||||
|
||||
INCLUDES += \
|
||||
-I$(srcdir)/../xpwidgets \
|
||||
|
|
Загрузка…
Ссылка в новой задаче