Skip to content

Commit

Permalink
[GreenPad] add IA64 and PPC defines
Browse files Browse the repository at this point in the history
  • Loading branch information
roytam1 committed Apr 12, 2023
1 parent 80e51fa commit 596a7a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GreenPad/GpMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ void GreenPadWnd::on_helpabout()
#endif
#endif
#else
#if defined(_M_AMD64) || defined(_M_X64) || defined(WIN64)
#if defined(_M_AMD64) || defined(_M_X64) || defined(_M_IA64) || defined(WIN64)
// XP/NT5.1 is the first x64 version of Windows.
#define TGVER TEXT(" 5.1+")
#else
Expand All @@ -857,6 +857,8 @@ void GreenPadWnd::on_helpabout()

#if defined(_M_AMD64) || defined(_M_X64)
#define PALT TEXT( "- x86_64" )
#elif defined(_M_IA64)
#define PALT TEXT( "- IA64" )
#elif defined(_M_IX86)
#define PALT TEXT( "- i386" )
#elif defined(_M_MRX000) || defined(_MIPS_)
Expand Down
4 changes: 4 additions & 0 deletions GreenPad/kilib/textfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,10 +1510,14 @@ int TextFileR::chardetAutoDetection( const uchar* ptr, ulong siz )

#if defined(_M_AMD64) || defined(_M_X64)
# define CHARDET_DLL "chardet_x64.dll"
#elif defined(_M_IA64)
# define CHARDET_DLL "chardet_ia64.dll"
#elif defined(_M_ARM64)
# define CHARDET_DLL "chardet_arm64.dll"
#elif defined(_MIPS_)
# define CHARDET_DLL "cdetmips.dll"
#elif defined(_M_PPC)
# define CHARDET_DLL "cdetppc.dll"
#else
# define CHARDET_DLL "chardet.dll"
#endif
Expand Down

0 comments on commit 596a7a2

Please sign in to comment.