From 785e8bca87d864e11c6d111ea1fb6331c9ba2233 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 12 Oct 2008 22:11:33 +0000 Subject: Remove redundant declaration of proc_priority. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27750 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'cfg-common.h') diff --git a/cfg-common.h b/cfg-common.h index bed59136e4..8257b47859 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -349,8 +349,6 @@ const m_option_t msgl_config[]={ }; -extern char * proc_priority; - #ifdef WIN32 struct { char* name; -- cgit v1.2.3 From 4d644f513c841eaf4617edffb348338a798d37be Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 13 Oct 2008 16:23:55 +0000 Subject: Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__. This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfg-common.h') diff --git a/cfg-common.h b/cfg-common.h index 8257b47859..c69deb2cbf 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -349,7 +349,7 @@ const m_option_t msgl_config[]={ }; -#ifdef WIN32 +#if defined(__MINGW32__) || defined(__CYGWIN__) struct { char* name; int prio; @@ -366,7 +366,7 @@ struct { { "idle", IDLE_PRIORITY_CLASS}, { NULL, NORMAL_PRIORITY_CLASS} /* default */ }; -#endif /* WIN32 */ +#endif /* defined(__MINGW32__) || defined(__CYGWIN__) */ extern const m_option_t noconfig_opts[]; -- cgit v1.2.3