8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 08:03:04 +01:00

fix build on big endian platforms (#6852)

* fix missing declaration of type_alignments[] for big endian platforms
* add missing definition of lwp for big endian platforms
This commit is contained in:
Dan Horák 2021-06-11 12:39:31 +02:00 committed by AlexPeshkoff
parent 88dc6f6307
commit 15d910db31
2 changed files with 2 additions and 0 deletions

View File

@ -713,6 +713,7 @@ void Sort::diddleKey(UCHAR* record, bool direction, bool duplicateHandling)
for (sort_key_def* key = m_description.begin(), *end = m_description.end(); key < end; key++)
{
UCHAR* p = record + key->getSkdOffset();
SORTP* lwp = (SORTP*) p;
USHORT n = key->getSkdLength();
USHORT complement = key->skd_flags & SKD_descending;

View File

@ -27,6 +27,7 @@
#include "../include/fb_blk.h"
#include "../common/DecFloat.h"
#include "../jrd/TempSpace.h"
#include "../jrd/align.h"
namespace Jrd {