aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/native/windows/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/native/windows/file.h')
-rw-r--r--src/main/native/windows/file.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/native/windows/file.h b/src/main/native/windows/file.h
index ce13908140..e16b03bd23 100644
--- a/src/main/native/windows/file.h
+++ b/src/main/native/windows/file.h
@@ -42,12 +42,14 @@ enum {
};
// Keep in sync with j.c.g.devtools.build.lib.windows.WindowsFileOperations
-enum {
- DELETE_PATH_SUCCESS = 0,
- DELETE_PATH_DOES_NOT_EXIST = 1,
- DELETE_PATH_DIRECTORY_NOT_EMPTY = 2,
- DELETE_PATH_ACCESS_DENIED = 3,
- DELETE_PATH_ERROR = 4,
+struct DeletePathResult {
+ enum {
+ kSuccess = 0,
+ kError = 1,
+ kDoesNotExist = 2,
+ kDirectoryNotEmpty = 3,
+ kAccessDenied = 4,
+ };
};
struct CreateJunctionResult {