Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
3093d148
Commit
3093d148
authored
Aug 31, 2018
by
Kurt Schwehr
Browse files
Remove HAVE_STDINT_H (fixes #4).
C99 is now required. Therefore HAVE_STDINT_H is no longer necessary.
parent
cfa5bb95
Changes
6
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3093d148
...
...
@@ -20,7 +20,6 @@ set(CMAKE_BUILD_TYPE Release)
enable_testing
()
check_include_files
(
malloc.h HAVE_MALLOC_H
)
check_include_files
(
stdint.h HAVE_STDINT_H
)
test_big_endian
(
WORDS_BIGENDIAN
)
check_clzll
(
HAVE_DECL___BUILTIN_CLZLL
)
if
(
NOT HAVE_DECL___BUILTIN_CLZLL
)
...
...
cmake/config.h.in
View file @
3093d148
#cmakedefine HAVE_MALLOC_H 1
#cmakedefine HAVE_STDINT_H 1
#cmakedefine WORDS_BIGENDIAN 1
#cmakedefine HAVE_DECL___BUILTIN_CLZLL 1
#cmakedefine HAVE_BSR64 1
...
...
src/decode.h
View file @
3093d148
...
...
@@ -53,9 +53,7 @@
#include <config.h>
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#include <stdint.h>
#define M_CONTINUE 1
#define M_EXIT 0
...
...
src/encode.h
View file @
3093d148
...
...
@@ -53,9 +53,7 @@
#include <config.h>
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#include <stdint.h>
#define M_CONTINUE 1
#define M_EXIT 0
...
...
src/encode_accessors.c
View file @
3093d148
...
...
@@ -49,10 +49,7 @@
#include <config.h>
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#include <stdint.h>
#include <string.h>
#include "libaec.h"
#include "encode.h"
...
...
src/encode_accessors.h
View file @
3093d148
...
...
@@ -52,9 +52,7 @@
#include "config.h"
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#include <stdint.h>
uint32_t
aec_get_8
(
struct
aec_stream
*
strm
);
uint32_t
aec_get_lsb_16
(
struct
aec_stream
*
strm
);
...
...
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