Selaa lähdekoodia

Merge branch 'upstream-kwsys' into update-kwsys

Brad King 10 vuotta sitten
vanhempi
sitoutus
d0c3bf65d5
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 1 0
      Source/kwsys/EncodingCXX.cxx
  2. 2 2
      Source/kwsys/SystemTools.hxx.in

+ 1 - 0
Source/kwsys/EncodingCXX.cxx

@@ -38,6 +38,7 @@
 // Windows API.
 #if defined(_WIN32)
 # include <windows.h>
+# include <shellapi.h>
 #endif
 
 namespace KWSYS_NAMESPACE

+ 2 - 2
Source/kwsys/SystemTools.hxx.in

@@ -703,13 +703,13 @@ public:
 
   /**
    * Create a symbolic link if the platform supports it.  Returns whether
-   * creation succeded.
+   * creation succeeded.
    */
   static bool CreateSymlink(const std::string& origName, const std::string& newName);
 
   /**
    * Read the contents of a symbolic link.  Returns whether reading
-   * succeded.
+   * succeeded.
    */
   static bool ReadSymlink(const std::string& newName, std::string& origName);