diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-06-28 19:25:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-06-28 19:25:22 +0000 |
commit | ca7f6a04b3d6e407fdee0f07cc0d1d2d3739ef44 (patch) | |
tree | 6a7345fd8d15b8bf3cb908d4860f98d9fbae13d1 /winsup/cygwin/fhandler_tape.cc | |
parent | 06e429fd6d6684da9ed94ee803ae75561bcb5eb3 (diff) | |
download | cygnal-ca7f6a04b3d6e407fdee0f07cc0d1d2d3739ef44.tar.gz cygnal-ca7f6a04b3d6e407fdee0f07cc0d1d2d3739ef44.tar.bz2 cygnal-ca7f6a04b3d6e407fdee0f07cc0d1d2d3739ef44.zip |
* fhandler_serial.cc: Fix includes for IOCTL codes to support Mingw64.
* fhandler_tape.cc: Ditto.
* flock.cc (allow_others_to_sync): Use PISECURITY_DESCRIPTOR since
PSECURITY_DESCRIPTOR is supposed to be the opaque type.
* ntdll.h: Remove CreateDisposition flags again, now that they are
defined in Mingw64's ntdef.h. Ditto for Create/Open flags.
Diffstat (limited to 'winsup/cygwin/fhandler_tape.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tape.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index c394d862d..da2458217 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -15,7 +15,12 @@ details. */ #include <stdlib.h> #include <sys/mtio.h> #include <sys/param.h> +#ifdef __MINGW64_VERSION_MAJOR +#include <devioctl.h> +#include <ntddstor.h> +#else #include <ddk/ntddstor.h> +#endif #include "security.h" #include "path.h" #include "fhandler.h" |