瀏覽代碼

Fix comments

Jisi Liu 8 年之前
父節點
當前提交
651429b709
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 0 1
      src/google/protobuf/stubs/io_win32.cc
  2. 2 0
      src/google/protobuf/stubs/io_win32.h

+ 0 - 1
src/google/protobuf/stubs/io_win32.cc

@@ -44,7 +44,6 @@
 // Comment this out to fall back to using the ANSI versions (open, mkdir, ...)
 // instead of the Unicode ones (_wopen, _wmkdir, ...). Doing so can be useful to
 // debug failing tests if that's caused by the long path support.
-// Long path support is disabled in MinGW
 #define SUPPORT_LONGPATHS
 
 #include <ctype.h>

+ 2 - 0
src/google/protobuf/stubs/io_win32.h

@@ -50,6 +50,8 @@
 #include <string>
 #include <google/protobuf/stubs/port.h>
 
+// Compilers on Windows other than MSVC (e.g. Cygwin, MinGW32) define the
+// following functions already, except for mkdir.
 #ifdef _MSC_VER
 namespace google {
 namespace protobuf {