]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_win32.h
LyX 2.1 will support only Qt>=4.5.
[lyx.git] / src / support / os_win32.h
index 4933a2482e6456da937ff3aeec9b310ce5accbb1..618c5315efb10b0a786fa5ff6e399a16e9c83b3a 100644 (file)
@@ -29,7 +29,7 @@
  * in <windef.h> under MinGW and Cygwin.
  * It is missing in earlier versions of the MinGW w32api headers.
  *
- * We need to #include <windef.h> now to make available the
+ * We need to #include <windows.h> now to make available the
  * DWORD, HMODULE et al. typedefs, so first define WINVER, _WIN32_IE.
  *
  * Note: __CYGWIN__ can be defined here if building in _WIN32 mode.
@@ -42,7 +42,9 @@
 # define _WIN32_IE 0x0500
 #endif
 
-#include <windef.h>
+#include <windows.h>
+#include <tchar.h>
+#include <psapi.h>
 
 
 namespace lyx {
@@ -74,7 +76,7 @@ public:
        ~GetFolderPath();
 
        /** Wrapper for SHGetFolderPathA, returning
-        *  the path asscociated with @c id.
+        *  the path asscociated with @c id in utf8 encoding.
         */
        std::string const operator()(folder_id id) const;
 private: