1 /*
2  *  Copyright (C) 2005-2018 Team Kodi
3  *  This file is part of Kodi - https://kodi.tv
4  *
5  *  SPDX-License-Identifier: GPL-2.0-or-later
6  *  See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 /* config.h.  Generated by hand.  */
12 #if defined(TARGET_POSIX)
13 #include "PlatformDefs.h"
14 #else
15 #include <windows.h>
16 #endif
17 #include <stdio.h>
18 
19 //#define HAVE_DLFCN_H 1
20 #define HAVE_DVDCSS_DVDCSS_H 1
21 /* #undef HAVE_DVDCSS_DVDCSS_H*/
22 /* #undef HAVE_INTTYPES_H */
23 #define HAVE_MEMORY_H 1
24 #define HAVE_STDINT_H 1
25 #define HAVE_STDLIB_H 1
26 #define HAVE_STRINGS_H 1
27 #define HAVE_STRING_H 1
28 #define HAVE_SYS_STAT_H 1
29 #define HAVE_SYS_TYPES_H 1
30 /* #undef HAVE_UNISTD_H */
31 #ifndef PACKAGE
32 #define PACKAGE "libdvdread"
33 #endif
34 #ifndef PACKAGE_BUGREPORT
35 #define PACKAGE_BUGREPORT ""
36 #endif
37 #ifndef PACKAGE_NAME
38 #define PACKAGE_NAME ""
39 #endif
40 #ifndef PACKAGE_STRING
41 #define PACKAGE_STRING ""
42 #endif
43 #ifndef PACKAGE_TARNAME
44 #define PACKAGE_TARNAME ""
45 #endif
46 #ifndef PACKAGE_VERSION
47 #define PACKAGE_VERSION ""
48 #endif
49 #define STDC_HEADERS 1
50 #ifndef VERSION
51 #define VERSION "1.2.6"
52 #endif
53 /* #undef WORDS_BIGENDIAN */
54 /* #undef __DARWIN__ */
55 /* #undef const */
56 #define inline __inline
57 /* #undef size_t */
58 
59 #define ssize_t int
60 
61 #ifndef PATH_MAX
62 #define PATH_MAX MAX_PATH
63 #endif
64 
65 #ifndef S_ISDIR
66 #define S_ISDIR(m) ((m) & _S_IFDIR)
67 #endif
68 #ifndef S_ISREG
69 #define S_ISREG(m) ((m) & _S_IFREG)
70 #endif
71 #ifndef S_ISBLK
72 #define S_ISBLK(m) 0
73 #endif
74 #ifndef S_ISCHR
75 #define S_ISCHR(m) 0
76 #endif
77