]> git.ipfire.org Git - thirdparty/openvpn.git/commit
do not use mode_t on Windows
authorHeiko Hund <heiko.hund@sophos.com>
Thu, 16 Feb 2012 17:30:39 +0000 (18:30 +0100)
committerDavid Sommerseth <davids@redhat.com>
Thu, 16 Feb 2012 18:36:27 +0000 (19:36 +0100)
commitd0109cbf459409a84963668c78f444c97ec2b349
tree7739e8d7f4def69f02b9a1f4324737acc5ea0c0f
parent76a3c405549bf02902846a9bd0e7d0f3a25a5b4d
do not use mode_t on Windows

The MSVC headers do not define mode_t. open() uses an int for
the permissions instead. Fixes building with the MSVC based
buildsystem.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
misc.h
win32.c