Chromium Code Reviews| Index: base/files/file_path.h |
| diff --git a/base/files/file_path.h b/base/files/file_path.h |
| index 25b8391c01094387ed583ad64cacb8a611790723..801dda4a962884b7fbebc67e0f25645adc9dfb32 100644 |
| --- a/base/files/file_path.h |
| +++ b/base/files/file_path.h |
| @@ -138,10 +138,12 @@ class BASE_EXPORT FilePath { |
| // may or may not be specified. On Mac OS X, native pathnames are encoded |
| // in UTF-8. |
| typedef std::string StringType; |
| +#define PRIsFP "s" |
|
Lei Zhang
2015/09/30 18:35:01
You should move these into their own section with
|
| #elif defined(OS_WIN) |
| // On Windows, for Unicode-aware applications, native pathnames are wchar_t |
| // arrays encoded in UTF-16. |
| typedef std::wstring StringType; |
| +#define PRIsFP "ls" |
| #endif // OS_WIN |
| typedef BasicStringPiece<StringType> StringPieceType; |