where.exe: Add stub program.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49460
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2020-07-01 13:58:01 +02:00 committed by Alexandre Julliard
parent cbd2af9213
commit 10b17932fa
4 changed files with 42 additions and 0 deletions

2
configure vendored
View File

@ -1807,6 +1807,7 @@ enable_uninstaller
enable_unlodctr
enable_view
enable_wevtutil
enable_where
enable_whoami
enable_wineboot
enable_winebrowser
@ -21426,6 +21427,7 @@ wine_fn_config_makefile programs/uninstaller enable_uninstaller
wine_fn_config_makefile programs/unlodctr enable_unlodctr
wine_fn_config_makefile programs/view enable_view
wine_fn_config_makefile programs/wevtutil enable_wevtutil
wine_fn_config_makefile programs/where enable_where
wine_fn_config_makefile programs/whoami enable_whoami
wine_fn_config_makefile programs/wineboot enable_wineboot
wine_fn_config_makefile programs/winebrowser enable_winebrowser

View File

@ -4011,6 +4011,7 @@ WINE_CONFIG_MAKEFILE(programs/uninstaller)
WINE_CONFIG_MAKEFILE(programs/unlodctr)
WINE_CONFIG_MAKEFILE(programs/view)
WINE_CONFIG_MAKEFILE(programs/wevtutil)
WINE_CONFIG_MAKEFILE(programs/where)
WINE_CONFIG_MAKEFILE(programs/whoami)
WINE_CONFIG_MAKEFILE(programs/wineboot)
WINE_CONFIG_MAKEFILE(programs/winebrowser)

View File

@ -0,0 +1,6 @@
MODULE = where.exe
EXTRADLLFLAGS = -mconsole -municode -mno-cygwin
C_SRCS = \
main.c

33
programs/where/main.c Normal file
View File

@ -0,0 +1,33 @@
/*
* Copyright 2020 Louis Lenders
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(where);
int __cdecl wmain(int argc, WCHAR *argv[])
{
int i;
WINE_FIXME("stub:");
for (i = 0; i < argc; i++)
WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
WINE_FIXME("\n");
return 0;
}