1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-02 14:04:22 +00:00

Buildfix on ARM raspberry pi

This commit is contained in:
King_DuckZ 2016-02-02 20:56:27 +01:00
parent c5824c36bd
commit 58c7e917c5
6 changed files with 80 additions and 24 deletions

View file

@ -168,7 +168,7 @@ namespace pq {
//Hack to make some sort of "static pimpl"
struct StorageStruct { int a; int b[2 * 6]; void* c[2]; };
static constexpr std::size_t DATA_SIZE = sizeof(StorageStruct);
using storage = std::aligned_storage<DATA_SIZE, alignof(uint64_t)>::type;
using storage = std::aligned_storage<DATA_SIZE, alignof(int)>::type;
void push_param ( const char* parFormat, ... );
storage m_storage;
PGParams m_par;