Skip to content

Commit 18b0485

Browse files
committed
tmp
1 parent 44b1800 commit 18b0485

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/regression-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
shortosname: ubu-24
3535
compiler: clang++-19
3636
cxx_std: c++23
37-
stdlib: libc++-19-dev
37+
stdlib: libc++-18-dev
3838
- os: ubuntu-22.04
3939
shortosname: ubu-22
4040
compiler: clang++-15
@@ -84,7 +84,6 @@ jobs:
8484
if: matrix.os == 'ubuntu-24.04'
8585
run: |
8686
sudo sudo apt-get install clang-19
87-
sudo sudo apt-get install libc++-19-dev -y
8887
8988
- name: Run regression tests - Linux and macOS version
9089
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')

include/cpp2util.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@
261261
#include <cstddef>
262262
#include <cstdint>
263263
#include <cstdio>
264+
#include <cstdlib>
264265
#ifndef CPP2_NO_EXCEPTIONS
265266
#include <exception>
266267
#endif
@@ -301,6 +302,10 @@
301302
#include <vector>
302303
#endif
303304

305+
#ifndef EXIT_FAILURE
306+
#define EXIT_FAILURE 1
307+
#endif
308+
304309
// cpp2util.h uses signed integer types for indices and container sizes
305310
// so disable clang signed-to-unsigned conversion warnings in this header.
306311
#ifdef __clang__

0 commit comments

Comments
 (0)