winefile: don't compile Wine specific functions

svn path=/trunk/; revision=21176
This commit is contained in:
Martin Fuchs 2006-02-21 20:39:23 +00:00
parent 0c8984093b
commit b604e49335
2 changed files with 23 additions and 23 deletions

View file

@ -239,6 +239,8 @@ static void display_network_error(HWND hwnd)
} }
#ifdef __WINE__
static VOID WineLicense(HWND Wnd) static VOID WineLicense(HWND Wnd)
{ {
TCHAR cap[20], text[1024]; TCHAR cap[20], text[1024];
@ -255,9 +257,6 @@ static VOID WineWarranty(HWND Wnd)
MessageBox(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK); MessageBox(Wnd, text, cap, MB_ICONEXCLAMATION | MB_OK);
} }
#ifdef __WINE__
#ifdef UNICODE #ifdef UNICODE
/* call vswprintf() in msvcrt.dll */ /* call vswprintf() in msvcrt.dll */

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE project SYSTEM "tools/rbuild/project.dtd"> <rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="winefile" type="win32gui" installbase="system32" installname="winefile.exe" allowwarnings="true"> <module name="winefile" type="win32gui" installbase="system32" installname="winefile.exe" allowwarnings="true">
<include base="winefile">.</include> <include base="winefile">.</include>
<define name="UNICODE" /> <define name="UNICODE" />
@ -19,3 +19,4 @@
<file>winefile.c</file> <file>winefile.c</file>
<file>winefile.rc</file> <file>winefile.rc</file>
</module> </module>
</rbuild>