File tree Expand file tree Collapse file tree 8 files changed +3
-285
lines changed Expand file tree Collapse file tree 8 files changed +3
-285
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,11 @@ endif()
29
29
find_package (Threads REQUIRED )
30
30
31
31
CHECK_INCLUDE_FILE (malloc.h HAVE_MALLOC_H )
32
- CHECK_INCLUDE_FILE (stdint.h HAVE_STDINT_H )
33
- CHECK_INCLUDE_FILE (stdbool.h HAVE_STDBOOL_H )
34
32
CHECK_FUNCTION_EXISTS (posix_memalign HAVE_POSIX_MEMALIGN )
35
33
36
34
if (HAVE_MALLOC_H )
37
35
add_definitions (-DHAVE_MALLOC_H )
38
36
endif ()
39
- if (HAVE_STDINT_H )
40
- add_definitions (-DHAVE_STDINT_H )
41
- endif ()
42
37
if (HAVE_POSIX_MEMALIGN )
43
38
add_definitions (-DHAVE_POSIX_MEMALIGN )
44
39
endif ()
@@ -61,8 +56,6 @@ include_directories ("${PROJECT_BINARY_DIR}")
61
56
include_directories ("${PROJECT_SOURCE_DIR} /libde265" )
62
57
if (MSVC )
63
58
include_directories ("${PROJECT_SOURCE_DIR} /extra" )
64
- add_definitions (-DHAVE_STDINT_H )
65
- add_definitions (-DHAVE_STDBOOL_H )
66
59
endif ()
67
60
68
61
option (ENABLE_DECODER "Enable Decoder" ON )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ HAVE_VISIBILITY=0
62
62
AM_CONDITIONAL([ HAVE_VISIBILITY] , [ test "x$HAVE_VISIBILITY" != "x0"] )
63
63
64
64
# Checks for header files.
65
- AC_CHECK_HEADERS ( [ stdint.h stdlib.h string.h malloc.h signal.h setjmp.h stddef.h sys/time.h] )
65
+ AC_CHECK_HEADERS ( [ stdlib.h string.h malloc.h signal.h setjmp.h stddef.h sys/time.h] )
66
66
67
67
AC_LANG_PUSH ( C++ )
68
68
OLD_CPPFLAGS="$CPPFLAGS"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -114,9 +114,7 @@ if MINGW
114
114
endif
115
115
116
116
EXTRA_DIST = Makefile.vc7 \
117
- CMakeLists.txt \
118
- ../extra/stdbool.h \
119
- ../extra/stdint.h
117
+ CMakeLists.txt
120
118
121
119
libde265_la_HEADERS = \
122
120
de265.h \
Original file line number Diff line number Diff line change 29
29
30
30
#include < vector>
31
31
#include < cstddef>
32
- #ifdef HAVE_STDINT_H
33
- #include < stdint.h>
34
- #endif
35
- #ifdef HAVE_CSTDINT
36
32
#include < cstdint>
37
- #endif
38
33
39
34
40
35
class alloc_pool
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ CHECK_RESULT=`/usr/bin/licensecheck --recursive --ignore 'nacl_sdk' .`
25
25
26
26
# Files that are public domain or have other known-good license headers which licensecheck doesn't detect.
27
27
KNOWN_GOOD_FILES=(
28
- ' ./extra/stdint.h' ,
29
28
' ./extra/win32cond.c' ,
30
29
' ./extra/win32cond.h' ,
31
30
' ./libde265/md5.cc' ,
Original file line number Diff line number Diff line change 28
28
#include < sys/stat.h>
29
29
#include < unistd.h>
30
30
#include < assert.h>
31
- #include < stdint.h >
31
+ #include < cstdint >
32
32
#include < string.h>
33
33
#include < getopt.h>
34
34
You can’t perform that action at this time.
0 commit comments