# HG changeset patch # User diego # Date 1308869529 0 # Node ID d9cf7500b0d8e04a5294cb487e6fe428a7488423 # Parent a621fd1e93ae7b756b9c78da0189d2af0625b0e2 vidix: Replace IsWinNT() forward declaration by a proper header. diff -r a621fd1e93ae -r d9cf7500b0d8 vidix/sysdep/libdha_win32.c --- a/vidix/sysdep/libdha_win32.c Thu Jun 23 18:42:26 2011 +0000 +++ b/vidix/sysdep/libdha_win32.c Thu Jun 23 22:52:09 2011 +0000 @@ -23,6 +23,7 @@ #include #include #include "vidix/dhahelperwin/dhahelper.h" +#include "libdha_win32.h" /* This is the request structure that applications use @@ -49,8 +50,6 @@ #define METHOD_NEITHER 3 -int IsWinNT(void); - int IsWinNT(void) { OSVERSIONINFO OSVersionInfo; OSVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); diff -r a621fd1e93ae -r d9cf7500b0d8 vidix/sysdep/libdha_win32.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vidix/sysdep/libdha_win32.h Thu Jun 23 22:52:09 2011 +0000 @@ -0,0 +1,26 @@ +/* + * VIDIX - VIDeo Interface for *niX. + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef MPLAYER_LIBDHA_WIN32_H +#define MPLAYER_LIBDHA_WIN32_H + +int IsWinNT(void); + +#endif /* MPLAYER_LIBDHA_WIN32_H */ diff -r a621fd1e93ae -r d9cf7500b0d8 vidix/sysdep/pci_win32.c --- a/vidix/sysdep/pci_win32.c Thu Jun 23 18:42:26 2011 +0000 +++ b/vidix/sysdep/pci_win32.c Thu Jun 23 22:52:09 2011 +0000 @@ -29,6 +29,7 @@ #include #include #include "vidix/dhahelperwin/dhahelper.h" +#include "libdha_win32.h" static HANDLE hDriver;