mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Copy cls's hack to another makefile to fix nebiros bustage. This prevents time.h from being included on Sun's WorkShop compiler. r=scc
This commit is contained in:
parent
e8aa53f66a
commit
2108c7088c
@ -67,3 +67,14 @@ else
|
||||
CXXFLAGS += $(MOZ_GTK_CFLAGS)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user