00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #define HAVE_UNISTD_H 1
00021 #define HAVE_FCNTL_H 1
00022
00023 #define HAVE_LINUX_CDROM_H 1
00024
00025
00026
00027
00028
00029
00030
00031
00032 #define HAVE_FCNTL_H 1
00033
00034
00035 #define HAVE_LINUX_CDROM_H 1
00036
00037
00038 #define HAVE_STRINGS_H 1
00039
00040
00041 #define HAVE_UNISTD_H 1
00042
00043
00044 #define PACKAGE "ccaudio"
00045
00046
00047 #define VERSION "0.5.2"
00048
00049
00050
00051 #ifdef HAVE_UNISTD_H
00052 #include <unistd.h>
00053 #ifndef __UNIX__
00054 #define __UNIX__
00055 #endif
00056 #endif
00057
00058 #ifdef HAVE_FCNTL_H
00059 #include <fcntl.h>
00060 #endif
00061
00062 #if defined(__sun) || defined(__SUN__)
00063 #define __EXTENSIONS__
00064 #endif
00065
00066 #if defined(__WIN32__) || defined(__MINGW32__) || defined(__CYGWIN32__)
00067 #ifndef __WIN32__
00068 #define __WIN32__
00069 #endif
00070 #include <windows.h>
00071 #if defined(__MINGW32__) || defined(__CYGWIN32__)
00072 #define __EXPORT
00073 #else
00074 #define __EXPORT __declspec(dllexport)
00075 #endif
00076 #else
00077 #define __EXPORT
00078 #endif
00079
00080
00081 #if defined(HAVE_LINUX_CDROM_H)
00082 #define HAVE_CDAUDIO
00083 #endif
00084
00085
00086 #ifdef HAVE_ENDIAN_H
00087 #include <endian.h>
00088 #else
00089 #define __LITTLE_ENDIAN 1234
00090 #define __BIG_ENDIAN 4321
00091 #endif
00092
00093
00094 #include <string.h>
00095
00096 #ifdef HAVE_STRCASECMP
00097 #ifndef stricmp
00098 #define stricmp(x,y) strcasecmp(x,y)
00099 #endif
00100 #ifndef strnicmp
00101 #define strnicmp(x,y,n) strncasecmp(x,y,n)
00102 #endif
00103 #endif
00104
00105 #ifndef HAVE_STRDUP
00106 #define strdup(s) (char *)malloc(strlen(s))
00107 #endif
00108
00109