OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/globals.h" | 5 #include "platform/globals.h" |
6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(HOST_OS_WINDOWS) |
7 | 7 |
8 #include "bin/file.h" | 8 #include "bin/file.h" |
9 | 9 |
10 #include <fcntl.h> // NOLINT | 10 #include <fcntl.h> // NOLINT |
11 #include <io.h> // NOLINT | 11 #include <io.h> // NOLINT |
12 #include <stdio.h> // NOLINT | 12 #include <stdio.h> // NOLINT |
13 #include <string.h> // NOLINT | 13 #include <string.h> // NOLINT |
14 #include <sys/stat.h> // NOLINT | 14 #include <sys/stat.h> // NOLINT |
15 #include <sys/utime.h> // NOLINT | 15 #include <sys/utime.h> // NOLINT |
16 #include <WinIoCtl.h> // NOLINT | 16 #include <WinIoCtl.h> // NOLINT |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 (file_info[0].nFileIndexLow == file_info[1].nFileIndexLow)) { | 824 (file_info[0].nFileIndexLow == file_info[1].nFileIndexLow)) { |
825 return kIdentical; | 825 return kIdentical; |
826 } else { | 826 } else { |
827 return kDifferent; | 827 return kDifferent; |
828 } | 828 } |
829 } | 829 } |
830 | 830 |
831 } // namespace bin | 831 } // namespace bin |
832 } // namespace dart | 832 } // namespace dart |
833 | 833 |
834 #endif // defined(TARGET_OS_WINDOWS) | 834 #endif // defined(HOST_OS_WINDOWS) |
OLD | NEW |