version: 2
-branches:
- ignore:
- - gh-pages
jobs:
base:
- run: apt update && apt install ragel
- run: cmake -Bbuild -H. -GNinja && ninja -Cbuild
+ psvita:
+ docker:
+ - image: dockcross/base
+ steps:
+ - checkout
+ - run: apt update && apt install ragel
+ - run: git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
+ - run: cmake -Bbuild -H. -GNinja -DCMAKE_TOOLCHAIN_FILE=/usr/local/vitasdk/share/vita.toolchain.cmake && ninja -Cbuild
+
android-arm:
docker:
- image: dockcross/android-arm
build:
jobs:
- base
+ - psvita
- android-arm
- browser-asmjs
- linux-arm64
- linux-mips
- windows-x64
+
+branches:
+ ignore:
+ - gh-pages
unsigned int cluster) const
{
for (unsigned int i = start; i < end; i++)
- cluster = MIN (cluster, info[i].cluster);
+ cluster = MIN<unsigned int> (cluster, info[i].cluster);
return cluster;
}
void
unsigned int cluster = info[start].cluster;
for (unsigned int i = start + 1; i < end; i++)
- cluster = MIN (cluster, info[i].cluster);
+ cluster = MIN<unsigned int> (cluster, info[i].cluster);
/* Extend end */
while (end < len && info[end - 1].cluster == info[end].cluster)
unsigned int cluster = out_info[start].cluster;
for (unsigned int i = start + 1; i < end; i++)
- cluster = MIN (cluster, out_info[i].cluster);
+ cluster = MIN<unsigned int> (cluster, out_info[i].cluster);
/* Extend start */
while (start && out_info[start - 1].cluster == out_info[start].cluster)
if (start_offset >= tables.len)
*table_count = 0;
else
- *table_count = MIN (*table_count, tables.len - start_offset);
+ *table_count = MIN<unsigned int> (*table_count, tables.len - start_offset);
const TableRecord *sub_tables = tables.array + start_offset;
unsigned int count = *table_count;