summaryrefslogtreecommitdiff
path: root/lib/os_internal.h
AgeCommit message (Collapse)Author
2008-07-09Fix MIN, MAX macro replacement (mingw32 fix)Matthias Ringwald
xine was already checking for MIN/MAX macros but the replacement does not work (at least not on mingw32). This change defines HAVE_[MIN|MAX]_MACRO and if missing, providedes them in lib/os_internal.h
2008-07-02Cope with missing strcasestr().Darren Salt
2008-05-23Check for MIN/MAX macro and include the header for them if found.Diego 'Flameeyes' Pettenò
The MIN/MAX macro are quite often used on the source code to find the minimum or maximum value between two, instead of defining it per-unit, check if the system provides them include the right header, otherwise define them during configure run.
2007-06-13Fix stupid mistake.Diego 'Flameeyes' Pettenò
2007-06-13Backport the memmem() replacement from 1.2 series.Diego 'Flameeyes' Pettenò
2007-06-08Fix build issues on systems which need our internal asprintf.Darren Salt
config.h is now include/configure.h and no longer #includes os_internals.h. A new file, include/config.h, #includes both; this breaks a #include loop. Other files are updated accordingly.
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2006-10-02build cdio for builddir != .František Dvořák
update for attic platforms (mainly older MinGW) unsupported attributes not used (fixes warnings) added check for sentinel attribute enabled TrueSpeech codec CVS patchset: 8327 CVS date: 2006/10/02 15:56:03
2006-09-19Finish the latest change - fix broken build for some platforms (BSD, Win, ↵František Dvořák
Solaris). CVS patchset: 8271 CVS date: 2006/09/19 13:31:19
2006-09-17DVDNAV changes:František Dvořák
improve MinGW support, kFreeBSD support define HAVE_* when provided replacement functions in xine-lib CVS patchset: 8268 CVS date: 2006/09/17 13:01:07
2006-09-06Build workaround for MinGW.František Dvořák
CVS patchset: 8202 CVS date: 2006/09/06 18:21:13
2006-07-16Add asprintf & vasprintf implementations for systems which don't have them.Darren Salt
CVS patchset: 8128 CVS date: 2006/07/16 14:24:21
2006-04-08Ancient platforms support:František Dvořák
- rint, lrint, M_PI (ffmpeg and goom) - avoid mkdir warnings - check for older _GUID_DEFINED too - ressurected generating inttypes, cleaned public os_types.h - moved function redefiniton used only in the old MSVC to central place Windows port update: - build internal ffmpeg: - workaround 'near' keyword problem - proper using __declspec(dllimport) Other changes: - LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS CVS patchset: 7964 CVS date: 2006/04/08 16:42:23
2006-01-08*BUGFIX*František Dvořák
Used the same pludindir and path separator for native Win32 and CygWin. Fixed build of the plugins using X11 on CygWin. CVS patchset: 7833 CVS date: 2006/01/08 12:15:39
2005-11-21*BUGFIX*František Dvořák
M$VC port update: - doc update. - added none plugins (meant TWO none plugins) - fix some compile warnings - update due to the alphablend - install the headers too CVS patchset: 7810 CVS date: 2005/11/21 14:18:56
2005-11-14*BUGFIX*František Dvořák
Testsuite for M$ Windows: - init mutex in all video drivers ('none' for testsuite, fixes crashes), was OK for linux pthreads - use WaitForSingleObject for console file descriptirs in _x_io_select (fixes stdin:/) - workaround heavy debug messages in asf demuxer for some samples (fixes full disk :->) Fixed previous fix, s/gmtime/timgm/ :-) Aalib cross detection + udate docs CVS patchset: 7799 CVS date: 2005/11/14 12:34:45
2005-11-10*BUGFIX*František Dvořák
Cygwin port update. CVS patchset: 7798 CVS date: 2005/11/10 15:59:32
2005-08-30Better names for directory separators.František Dvořák
CVS patchset: 7715 CVS date: 2005/08/30 15:27:58
2005-08-29*BUGFIX*František Dvořák
Windows ports updates: - finished M$VC port update - moved xine plugins back to normal location for Windows ports, added relative directories (used relative to ${prefix}), make sure it's thread-safe (but it's still hacky) - fixed ugly bug with loading plugins, when working drive was differrent from plugins directory directory - directory and subdirectory separator called as platform specific - fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes! - small doc update CVS patchset: 7712 CVS date: 2005/08/29 15:28:16
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-07-30*BUGFIX*František Dvořák
Let handle inttypes by config.h, sun specific includes moved to os_internal.h. CVS patchset: 7701 CVS date: 2005/07/30 11:26:09
2004-12-12Check absolute path in $ac_aux_dir (just reflected from gxine).František Dvořák
Compilation fixes for cross-compiling with MinGW32. CVS patchset: 7231 CVS date: 2004/12/12 13:51:28
2004-09-20Build system improvements:František Dvořák
- use replacement functions (macro AC_REPLACE_FUNCS and variable LTLIBOBJS), each function is in a file placed into lib/ directory, it was not necessary, but it looks nice, IMHO - headers cleanups (this was needed): - prototypes of replacement funtions and macros are placed into separate os_internal.h (and included by config.h) - drop include inttypes.h from public xine.h, replaced by custom os_type.h, idea origins from Ogg/Vorbis public headers - disable generating inttypes.h: generated replacement isn't enough for xine-lib but nobody complained (and for M$VC we have special version) - better including headers for win32, let dvdnav use its mutex wrapper - updated M$VC port Result: - xine is compiled nicely by MinGW, CygWin and paritaly M$VC - frontends in M$VC port don't require additional helping headers - moved some platform specific things from xine-utils and win32/contrib to lib/ Finally I can start with real coding. :-) CVS patchset: 6982 CVS date: 2004/09/20 19:30:02