Commit Graph

9 Commits

Author SHA1 Message Date
rocky
82c7c09a97 Fixes for Mingw+MSYS and DLL support from Carlo Bramini
* configure.ac: Added AC_LIBTOOL_WIN32_DLL for enabling the creation of shared libraries.
* configure.ac: Added -I$(top_srcdir)/include to LIBCDIO_CFLAGS, it allows to build outside the source tree.
* configure.ac: Added LT_NO_UNDEFINED for adding '-no-undefined' switch to libtool when building win32 shared libraries.
* configure.ac: Check for Windows.h presence if under Mingw (included for using Sleep() function).
* configure.ac: Check for more missing functions: setenv(), unsetenv(), sleep(), gmtime_r(), localtime_r().

* example/cdchange.c: If sleep() function does not exist, it tries to emulate it with a similar code (require inclusion of Windows.h)

* src/cddb.c:
* lib/cdda_interface/scsi_interface.c: Compilation fails because u_int32_t is undefined. It has been changed to uint32_t to be compliant to all other parts of the libraries.
* lib/cdda_interface/Makefile.am:
* lib/iso9660/Makefile.am:
* lib/cdio++/Makefile.am:
* lib/paranoia/Makefile.am:
* lib/udf/Makefile.am:
* lib/driver/Makefile.am: added LT_NO_UNDEFINED to libtool flags.
* lib/iso9660/iso9660.c: Added replacements for setenv(), unsetenv(), gmtime_r\
(), localtime_r().
2008-06-25 08:01:53 +00:00
karl
0a527dedaf gplv3 2008-03-24 15:30:55 +00:00
rocky
3567d2d7da cdchange doesn't use off_t, ssize or any fancy types so it shouldn't #include SYS_TYPES. Furthermore if cdio needs it, it should #include it on its own. 2007-04-15 16:42:23 +00:00
rocky
911b3d27fc Take gcc's suggestion regarding adding parenthesis 2007-04-15 16:39:18 +00:00
rocky
e52da6ef99 lib/driver/gnu_linux.c: bug #19221 (possibly): memory Leak opening an inaccessible device.
cdchange.c: a stray character got added to the file
2007-03-07 04:35:47 +00:00
rocky
07b1944cb6 Better strtol fix based on SMS's remark. 2007-03-05 11:49:24 +00:00
rocky
0dc4e4d5ae Set errno=0 before calling strtol(). bug #18131 2007-03-05 11:18:49 +00:00
rocky
9d6c4e3c70 Allow parameter to specify seconds to wait. 2006-01-24 00:53:19 +00:00
rocky
3a935b1bfa Example to show media changed routine. 2006-01-24 00:15:33 +00:00