From 141e81cce4fb780a1e2f791c79c1664956401af7 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 7 Aug 2008 08:58:07 +0000 Subject: Rename a bunch of miscellaneous preprocessor directives. Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/win32/gui.c | 8 ++++---- gui/win32/interface.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gui') diff --git a/gui/win32/gui.c b/gui/win32/gui.c index a56a4c77a7..35268938a6 100644 --- a/gui/win32/gui.c +++ b/gui/win32/gui.c @@ -804,7 +804,7 @@ static LRESULT CALLBACK EventProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM char device[MAX_PATH]; char searchpath[MAX_PATH]; char searchpath2[MAX_PATH]; -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO char searchpath3[MAX_PATH]; #endif int len, pos = 0, cdromdrive = 0; @@ -826,14 +826,14 @@ static LRESULT CALLBACK EventProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] checking %s for CD/VCD/SVCD/DVDs\n", device + pos); sprintf(searchpath, "%sVIDEO_TS", device + pos); sprintf(searchpath2, "%sMpegav", device + pos); -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO sprintf(searchpath3, "%sTrack01.cda", device + pos); #endif if(GetFileAttributes(searchpath) != INVALID_FILE_ATTRIBUTES) flags |= MF_ENABLED; else if(GetFileAttributes(searchpath2) != INVALID_FILE_ATTRIBUTES) flags |= MF_ENABLED; -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO else if(GetFileAttributes(searchpath3) != INVALID_FILE_ATTRIBUTES) flags |= MF_ENABLED; #endif @@ -1015,7 +1015,7 @@ static LRESULT CALLBACK EventProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM sprintf(searchpath, "%sTrack01.cda", device + pos); if(GetFileAttributes(searchpath) != INVALID_FILE_ATTRIBUTES) { -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO if (cdrom_device) free(cdrom_device); cdrom_device = strdup(device + pos); /* mplayer doesn't seem to like the trailing \ after the device name */ diff --git a/gui/win32/interface.c b/gui/win32/interface.c index 6b3eaafc54..209a1889d4 100644 --- a/gui/win32/interface.c +++ b/gui/win32/interface.c @@ -41,7 +41,7 @@ #include "access_mpcontext.h" #include "gui.h" #include "dialogs.h" -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO #include #endif @@ -173,7 +173,7 @@ static void guiSetEvent(int event) break; } #endif -#ifdef HAVE_LIBCDIO +#ifdef CONFIG_LIBCDIO case evPlayCD: { int i; -- cgit v1.2.3