OSDN Git Service

2005-06-15 Perry
authorPerry Rapp <elsapo@users.sourceforge.net>
Wed, 15 Jun 2005 01:04:45 +0000 (01:04 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Wed, 15 Jun 2005 01:04:45 +0000 (01:04 +0000)
 PATCH: [ 1220416 ] error C2065: '_stat' : undeclared identifier
  Src: DirScan.cpp

Src/DirScan.cpp
Src/readme.txt

index 2757704..388926d 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "stdafx.h"
 #include <shlwapi.h>
+#include <sys/stat.h>
 #include "DirScan.h"
 #include "common/unicoder.h"
 #include "DiffContext.h"
@@ -283,7 +284,7 @@ int DirScan_CompareItems(CDiffContext * pCtxt, IAbortable * piAbortable)
  */
 void UpdateDiffItem(DIFFITEM & di, BOOL & bExists, CDiffContext *pCtxt)
 {
-       _stat stats;
+       struct _stat stats;
        CString leftpath;
        CString rightpath;
        BOOL bLeftExists = FALSE;
index 5a3125f..69e75e3 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-15 Perry
+ PATCH: [ 1220416 ] error C2065: '_stat' : undeclared identifier
+  Src: DirScan.cpp
+
 2005-06-13 Kimmo
  PATCH: [ 1219333 ] Wrong confirmation message when deleting unique items
   Src: DirActions.cpp