diff options
Diffstat (limited to 'src/xine-utils')
-rw-r--r-- | src/xine-utils/Makefile.am | 11 | ||||
-rw-r--r-- | src/xine-utils/utils.c | 4 | ||||
-rw-r--r-- | src/xine-utils/xineutils.h | 15 |
3 files changed, 4 insertions, 26 deletions
diff --git a/src/xine-utils/Makefile.am b/src/xine-utils/Makefile.am index 3fefad590..99b819044 100644 --- a/src/xine-utils/Makefile.am +++ b/src/xine-utils/Makefile.am @@ -9,12 +9,6 @@ if PPC_ARCH pppc_files = ppcasm_string.S endif -if WIN32 -TIMER_LIB = $(top_builddir)/win32/contrib/libtimer.la -else -#lib_thr = $(THREAD_LIBS) -endif - AM_CFLAGS = $(X_CFLAGS) libxineutils_la_SOURCES = $(pppc_files) \ @@ -30,9 +24,6 @@ libxineutils_la_SOURCES = $(pppc_files) \ xmllexer.c \ xine_buffer.c -libxineutils_la_DEPENDENCIES = $(TIMER_LIB) -libxineutils_la_LIBADD = $(lib_thr) $(TIMER_LIB) - include_HEADERS = \ attributes.h \ compat.h \ @@ -43,5 +34,3 @@ include_HEADERS = \ noinst_HEADERS = ppcasm_string.h xine_check.h -$(TIMER_LIB): - $(MAKE) -C $(top_builddir)/win32/contrib libtimer.la diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c index 70bb406fa..52364b397 100644 --- a/src/xine-utils/utils.c +++ b/src/xine-utils/utils.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: utils.c,v 1.30 2004/08/27 19:33:37 valtri Exp $ + * $Id: utils.c,v 1.31 2004/09/01 18:19:51 valtri Exp $ * */ #define _POSIX_PTHREAD_SEMANTICS 1 /* for 5-arg getpwuid_r on solaris */ @@ -259,7 +259,7 @@ void *xine_xmalloc_aligned(size_t alignment, size_t size, void **base) { return ptr; } -#if defined(WIN32) +#if defined(__CYGWIN__) || defined(WIN32) /* Ridiculous hack to return valid xine support * directories. These should be read from diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 77a9c9217..fffc2b304 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.90 2004/08/27 19:33:37 valtri Exp $ + * $Id: xineutils.h,v 1.91 2004/09/01 18:19:51 valtri Exp $ * */ #ifndef XINEUTILS_H @@ -55,17 +55,6 @@ extern "C" { #include <stdio.h> #include <string.h> -#ifdef WIN32 -/* Ridiculous hack to return valid xine support - * directories. These should be read from - * a registry entry set at install time. - */ - /* -# define XINE_PLUGINDIR exec_path_append_subdir( "plugins" ) -# define XINE_FONTDIR exec_path_append_subdir( "plugins" ) -# define XINE_LOCALEDIR exec_path_append_subdir( "plugins" )*/ -#endif - /* * debugable mutexes */ @@ -1120,7 +1109,7 @@ char *xine_basename (char *name); */ const char *xine_hstrerror(int err); -#ifdef WIN32 +#if defined(__CYGWIN__) || defined(WIN32) char *exec_path_append_subdir(char * string); #endif |