Skip to content

Commit d4443b5

Browse files
committed
Fix build
1 parent 0b45028 commit d4443b5

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

far/codepage.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ namespace encoding::codepage
5959

6060
// Rule of thumb: everywhere a codepage is exposed to the user, use real_ansi() and real_oem() instead of ansi() and oem().
6161
// Everywhere a codepage is used internally, e.g. for communication with the OS, plugins etc., use encoding::ansi::get_* and encoding::oem::get_* functions.
62-
[[nodiscard]] inline uintptr_t real_ansi();
63-
[[nodiscard]] inline uintptr_t real_oem();
62+
[[nodiscard]] uintptr_t real_ansi();
63+
[[nodiscard]] uintptr_t real_oem();
6464

6565
[[nodiscard]] uintptr_t normalise(uintptr_t Codepage);
6666
}

far/platform.sdk/sdk_gcc.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,4 +377,13 @@ STACKFRAME_EX,*LPSTACKFRAME_EX;
377377
// libuuid.a
378378
DEFINE_GUID(IID_IMultiLanguage2, 0xDCCFC164, 0x2B38, 0x11D2, 0xB7, 0xEC, 0x00, 0xC0, 0x4F, 0x8F, 0x5D, 0x9A);
379379

380+
// winnls.h
381+
#ifndef LOCALE_IUSEUTF8LEGACYACP
382+
#define LOCALE_IUSEUTF8LEGACYACP 0x00000666
383+
#endif
384+
385+
#ifndef LOCALE_IUSEUTF8LEGACYOEMCP
386+
#define LOCALE_IUSEUTF8LEGACYOEMCP 0x00000999
387+
#endif
388+
380389
#endif // SDK_GCC_H_EA5F3F70_C987_4240_AA25_3016DB39C651

0 commit comments

Comments
 (0)