]> wimlib.net Git - wimlib/commit
win32: only define FSCTL_SET_PERSISTENT_VOLUME_STATE if not yet defined
authorEric Biggers <ebiggers3@gmail.com>
Tue, 29 Jun 2021 07:42:11 +0000 (00:42 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 29 Jun 2021 07:42:11 +0000 (00:42 -0700)
commit995542c1b79e356bd728e294d38bad4d033c9a54
treec42038da287d49742cae6192566a1147f353a1f3
parentc6274b2faeab6a144ec51c5cf17380d7811c650a
win32: only define FSCTL_SET_PERSISTENT_VOLUME_STATE if not yet defined

The MinGW headers define this (and the related struct and constant) now,
which is causing a build error.

Also use CTL_CODE() rather than a raw number.
include/wimlib/win32_common.h