From e46ac635c2c28d80706f02f239bb847c7e48c34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 27 Aug 2004 19:33:17 +0000 Subject: MINGW32 port. Engine library and most of plugins compiles now. List of some changes: - replaced some _MSC_VER by more common WIN32 - define INTLDIR, remove -static flag for included intl - shared more common CFLAGS with DEBUG_CFLAGS - use WIN32_CFLAGS for all building - separate some flags into THREAD_CFLAGS_CONFIG, THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config, automatically use internal libs if necessary - don't warn about missing X for mingw and cygwin - libw32dll disabled for WIN32 (making native loader would be interesting, or porting wine code to Windows? :->) - DVB and RTP disabled for WIN32, not ported yet - fix build and fix a warning in cdda - fix build for nosefart and libfaad - implement configure option --disable-freetype - sync libxine.pc and xine-config.in - add -liberty to goom under WIN32 - move original build files from included phread and zlib into archives and replace them by autotools CVS patchset: 6910 CVS date: 2004/08/27 19:33:17 --- win32/include/msvc/config.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'win32/include/msvc/config.h') diff --git a/win32/include/msvc/config.h b/win32/include/msvc/config.h index 8355d8569..886cf4762 100644 --- a/win32/include/msvc/config.h +++ b/win32/include/msvc/config.h @@ -6,12 +6,12 @@ * x86 disabled * inline defined to __inline * HAVE_SYS_PARAM_H disabled - * XINE_HOMEDIR * XINE_PLUGINDIR * XINE_FONTDIR * XINE_LOCALEDIR * HAVE_DLFCN_H 1 * HAVE_SETENV 1 (FIXME: into utils.c) + * define ssize_t as __int64 */ #if defined(WIN32) @@ -26,20 +26,6 @@ #define PATH_MAX MAX_PATH #endif -/* Ridiculous hack to return valid xine support - * directories. These should be read from - * a registry entry set at install time. - */ -#define XINE_HOMEDIR exec_path_append_subdir( 0 ) -#define XINE_PLUGINDIR exec_path_append_subdir( "plugins" ) -#define XINE_FONTDIR exec_path_append_subdir( "plugins" ) -#define XINE_LOCALEDIR exec_path_append_subdir( "plugins" ) - -#define S_ISDIR(m) ((m) & _S_IFDIR) -#define S_ISREG(m) ((m) & _S_IFREG) -#define S_ISBLK(m) 0 -#define S_ISCHR(m) 0 - #endif -- cgit v1.2.3