Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Side by Side Diff: runtime/bin/directory_win.cc

Issue 14680010: Fix windows build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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(TARGET_OS_WINDOWS)
7 7
8 #include "bin/directory.h" 8 #include "bin/directory.h"
9 #include "bin/file.h" 9 #include "bin/file.h"
10 #include "bin/utils.h"
10 11
11 #include <errno.h> // NOLINT 12 #include <errno.h> // NOLINT
12 #include <sys/stat.h> // NOLINT 13 #include <sys/stat.h> // NOLINT
13 14
14 #include "bin/log.h" 15 #include "bin/log.h"
15 16
16 #undef DeleteFile 17 #undef DeleteFile
17 18
18 namespace dart { 19 namespace dart {
19 namespace bin { 20 namespace bin {
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 MoveFileExW(system_path, system_new_path, flags); 535 MoveFileExW(system_path, system_new_path, flags);
535 free(const_cast<wchar_t*>(system_path)); 536 free(const_cast<wchar_t*>(system_path));
536 free(const_cast<wchar_t*>(system_new_path)); 537 free(const_cast<wchar_t*>(system_new_path));
537 return (move_status != 0); 538 return (move_status != 0);
538 } 539 }
539 540
540 } // namespace bin 541 } // namespace bin
541 } // namespace dart 542 } // namespace dart
542 543
543 #endif // defined(TARGET_OS_WINDOWS) 544 #endif // defined(TARGET_OS_WINDOWS)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698