Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
b73adb92
Commit
b73adb92
authored
Jun 08, 2024
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define __STDC_FORMAT_MACROS before includine cinttypes for (see #61).
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
4b069257
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
mpegts.cc
src/mpegts.cc
+0
-1
random.cc
src/random.cc
+0
-1
testrandom.cc
src/testrandom.cc
+0
-2
utils.hh
src/utils.hh
+6
-0
No files found.
src/mpegts.cc
View file @
b73adb92
...
...
@@ -18,7 +18,6 @@
#include <array>
#include <regex>
#include <inttypes.h>
#include <string.h>
#include "utils.hh"
#include "mpegts.hh"
...
...
src/random.cc
View file @
b73adb92
...
...
@@ -21,7 +21,6 @@
#include <regex>
#include <assert.h>
#include <cinttypes>
using
std
::
string
;
using
std
::
vector
;
...
...
src/testrandom.cc
View file @
b73adb92
...
...
@@ -18,8 +18,6 @@
#include "utils.hh"
#include "random.hh"
#include <inttypes.h>
using
std
::
vector
;
using
std
::
string
;
...
...
src/utils.hh
View file @
b73adb92
...
...
@@ -21,6 +21,12 @@
#include <vector>
#include <string>
#ifndef __STDC_FORMAT_MACROS
// some compilers/platforms (i.e. very old macOS) need this for macros like PRId64 (#61)
#define __STDC_FORMAT_MACROS
#endif
#include <cinttypes>
std
::
vector
<
int
>
bit_str_to_vec
(
const
std
::
string
&
bits
);
std
::
string
bit_vec_to_str
(
const
std
::
vector
<
int
>&
bit_vec
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment