diff options
author | Chris Robinson <[email protected]> | 2023-06-01 19:05:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-06-01 19:05:57 -0700 |
commit | 6752d5516c8b30fe7db559c7f3a1423705d2a4fd (patch) | |
tree | 13e0d76743ed807ffde3c0acd17a96c9680b1047 | |
parent | 2b7ab0b75086f3d73a7ffe9bc05a80e5d9c625f5 (diff) |
Use cinttypes instead of inttypes.h in C++
-rw-r--r-- | al/source.cpp | 2 | ||||
-rw-r--r-- | alc/backends/coreaudio.cpp | 2 | ||||
-rw-r--r-- | alc/backends/sndio.cpp | 2 | ||||
-rw-r--r-- | utils/uhjencoder.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/al/source.cpp b/al/source.cpp index 8f4d4d48..7e425d43 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -27,11 +27,11 @@ #include <atomic> #include <cassert> #include <chrono> +#include <cinttypes> #include <climits> #include <cmath> #include <cstdint> #include <functional> -#include <inttypes.h> #include <iterator> #include <limits> #include <memory> diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index 1e8423b7..c2888e42 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -22,8 +22,8 @@ #include "coreaudio.h" +#include <cinttypes> #include <cmath> -#include <inttypes.h> #include <memory> #include <stdint.h> #include <stdio.h> diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp index 84c54c62..89eee941 100644 --- a/alc/backends/sndio.cpp +++ b/alc/backends/sndio.cpp @@ -22,8 +22,8 @@ #include "sndio.h" +#include <cinttypes> #include <functional> -#include <inttypes.h> #include <poll.h> #include <stdio.h> #include <stdlib.h> diff --git a/utils/uhjencoder.cpp b/utils/uhjencoder.cpp index c381d1b9..91e4dbd0 100644 --- a/utils/uhjencoder.cpp +++ b/utils/uhjencoder.cpp @@ -25,8 +25,8 @@ #include "config.h" #include <array> +#include <cinttypes> #include <cstring> -#include <inttypes.h> #include <memory> #include <stddef.h> #include <string> |