]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_win32.h
Correct comment
[lyx.git] / src / support / os_win32.h
index 618c5315efb10b0a786fa5ff6e399a16e9c83b3a..3f278c3bd0af919cb821608bf3689345341fbfce 100644 (file)
  * Note: __CYGWIN__ can be defined here if building in _WIN32 mode.
  */
 #if defined(__MINGW32__)  || defined(__CYGWIN__) || defined(__CYGWIN32__)
-# if defined(WINVER) && WINVER < 0x0500
-#  error WINVER must be >= 0x0500
+# if defined(WINVER)
+#  if WINVER < 0x0600
+#   error WINVER must be >= 0x0600
+#  endif
+# else
+#  define WINVER 0x0600
 # endif
-# define WINVER 0x0500
-# define _WIN32_IE 0x0500
+# define _WIN32_IE 0x0600
 #endif
 
 #include <windows.h>
@@ -76,7 +79,7 @@ public:
        ~GetFolderPath();
 
        /** Wrapper for SHGetFolderPathA, returning
-        *  the path asscociated with @c id in utf8 encoding.
+        *  the path associated with @c id in utf8 encoding.
         */
        std::string const operator()(folder_id id) const;
 private: