Commit 14608560 authored by Diego Biurrun's avatar Diego Biurrun

Drop fallback definitions for POSIX integer types.

All relevant toolchains support POSIX integer types now.
parent 0210469b
......@@ -5,6 +5,7 @@ Changes since 1.3.0:
Windows NT 4.0 SP4 with IE 5.0 is now required.
* Replace BeOS support by Haiku support.
* dvdcss_error() now returns "const char *" instad of "char *".
* Drop support for MSVC versions before 2010.
* Miscellaneous cleanups to code, documentation, build system.
......
......@@ -13,7 +13,6 @@
/* #undef HAVE_LINUX_DVD_STRUCT */
#define HAVE_MEMORY_H 1
/* #undef HAVE_OPENBSD_DVD_STRUCT */
/* #undef HAVE_STDINT_H */
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
......
......@@ -26,21 +26,6 @@
#ifndef DVDCSS_COMMON_H
#define DVDCSS_COMMON_H
/*****************************************************************************
* Basic types definitions
*****************************************************************************/
#if defined( HAVE_STDINT_H )
# include <stdint.h>
#elif defined( HAVE_INTTYPES_H )
# include <inttypes.h>
#else
/* Fallback types (very x86-centric, sorry) */
typedef unsigned char uint8_t;
typedef signed char int8_t;
typedef unsigned int uint32_t;
typedef signed int int32_t;
#endif
#if defined( WIN32 )
# include <io.h> /* _lseeki64 */
......
......@@ -29,7 +29,8 @@
#ifndef DVDCSS_CSS_H
#define DVDCSS_CSS_H
#include "common.h"
#include <stdint.h>
#include "dvdcss/dvdcss.h"
#define CACHE_FILENAME_LENGTH_STRING "10"
......
......@@ -31,7 +31,7 @@
#ifndef DVDCSS_CSSTABLES_H
#define DVDCSS_CSSTABLES_H
#include "common.h"
#include <stdint.h>
static const uint8_t p_css_tab1[ 256 ] =
{
......
......@@ -23,7 +23,7 @@
#ifndef DVDCSS_IOCTL_H
#define DVDCSS_IOCTL_H
#include "common.h"
#include <stdint.h>
int ioctl_ReadCopyright ( int, int, int * );
int ioctl_ReadDiscKey ( int, const int *, uint8_t * );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment