Skip to content

mkdir under mingw #1

@xichaoqiang

Description

@xichaoqiang

The mkdir function under mingw32 has different parameters than the native mkdir in Linux. This issue has also been mentioned by others.

The following statement can be used to solve the problem

#if (defined(_WIN32) || defined(__WIN32__))
#include <direct.h> /* _mkdir */
#define mkdir(x, y) _mkdir(x)
#endif

Image

PegasusEpsilon/foundation-package-tools#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions