mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 757060 - redit fails to compile on mingw due to wmain linkage error r=glandium
This commit is contained in:
parent
414a7687cd
commit
b3cd06bf34
@ -28,6 +28,11 @@ DEFINES += -DWIN32_LEAN_AND_MEAN \
|
||||
LIBS = \
|
||||
$(XPCOM_STANDALONE_GLUE_LDOPTS) \
|
||||
$(NULL)
|
||||
|
||||
ifdef GNU_CC
|
||||
WIN32_EXE_LDFLAGS = -municode
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -96,6 +96,9 @@ namespace {
|
||||
typedef Scoped<ScopedResourceUpdateTraits> ScopedResourceUpdate;
|
||||
};
|
||||
|
||||
#ifdef __MINGW32__
|
||||
extern "C"
|
||||
#endif
|
||||
int
|
||||
wmain(int argc, wchar_t** argv)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user