Skip to content

Cross compiling with mingw-w64 #21

@GoogleCodeExporter

Description

@GoogleCodeExporter
I discovered two issues about sctp when cross compiling mozilla sources with 
mingw.

- Using lower case includes
While this doesn't matter on Windows, where filesystem is case insensitive, for 
cross compiling it's important. mingw always uses lower cased file names.

- Support for NOMINMAX
This is not really related to mingw, but Windows in general. While min/max 
macros are provided by system headers, they may be disabled with NOMINMAX 
macro. It has to be taken into account in sources, where those macros are 
defined. My proposed patch checks for NOMINMAX, but maybe something like 
|#ifndef min| would be prefered.

Please see the attached patch.

Original issue reported on code.google.com by cja...@gmail.com on 8 Jul 2015 at 5:03

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions