mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix building of tests
svn path=/trunk/; revision=16605
This commit is contained in:
parent
49c3197c28
commit
acbcf1c29a
4 changed files with 21 additions and 7 deletions
|
@ -1,6 +1,12 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "regtests.h"
|
#include "regtests.h"
|
||||||
|
|
||||||
|
int
|
||||||
|
mainCRTStartup(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
return WinMain(NULL, NULL, NULL, 0);
|
||||||
|
}
|
||||||
|
|
||||||
_SetupOnce()
|
_SetupOnce()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,6 +138,16 @@
|
||||||
<symbol>IoDeviceObjectType</symbol>
|
<symbol>IoDeviceObjectType</symbol>
|
||||||
<symbol>@KfReleaseSpinLock@8</symbol>
|
<symbol>@KfReleaseSpinLock@8</symbol>
|
||||||
<symbol>@KfAcquireSpinLock@4</symbol>
|
<symbol>@KfAcquireSpinLock@4</symbol>
|
||||||
|
<symbol>KeEnterCriticalRegion@0</symbol>
|
||||||
|
<symbol>KeLeaveCriticalRegion@0</symbol>
|
||||||
|
<symbol>KeGetCurrentIrql@0</symbol>
|
||||||
|
<symbol>ExFreePoolWithTag@8</symbol>
|
||||||
|
<symbol>PsGetProcessWin32Process@4</symbol>
|
||||||
|
<symbol>ObFindHandleForObject@20</symbol>
|
||||||
|
<symbol>PsSetProcessWin32Process@8</symbol>
|
||||||
|
<symbol>PsGetThreadWin32Thread@4</symbol>
|
||||||
|
<symbol>PsEstablishWin32Callouts@4</symbol>
|
||||||
|
<symbol>PsSetThreadWin32Thread@8</symbol>
|
||||||
</component>
|
</component>
|
||||||
<component name="freetype.dll">
|
<component name="freetype.dll">
|
||||||
<symbol>FT_Init_FreeType</symbol>
|
<symbol>FT_Init_FreeType</symbol>
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
<include base="rtshared">.</include>
|
<include base="rtshared">.</include>
|
||||||
<include base="win32k">.</include>
|
<include base="win32k">.</include>
|
||||||
<include base="win32k">include</include>
|
<include base="win32k">include</include>
|
||||||
|
<include base="ntoskrnl">include</include>
|
||||||
|
<include base="freetype">include</include>
|
||||||
<define name="UNICODE" />
|
<define name="UNICODE" />
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<define name="_WIN32_WINNT">0x0501</define>
|
<define name="_WIN32_WINNT">0x0501</define>
|
||||||
<define name="WINVER">0x600</define>
|
<define name="WINVER">0x600</define>
|
||||||
<define name="_DISABLE_TIDENTS" />
|
|
||||||
<define name="_SEH_NO_NATIVE_NLG" />
|
<define name="_SEH_NO_NATIVE_NLG" />
|
||||||
<define name="_WIN32K_" />
|
<define name="_WIN32K_" />
|
||||||
<library>rtshared</library>
|
<library>rtshared</library>
|
||||||
|
@ -14,10 +15,6 @@
|
||||||
<library>win32k_base</library>
|
<library>win32k_base</library>
|
||||||
<library>pseh</library>
|
<library>pseh</library>
|
||||||
<library>rosrtl</library>
|
<library>rosrtl</library>
|
||||||
<library>msvcrt</library>
|
|
||||||
<linkerflag>-lgcc</linkerflag>
|
|
||||||
<linkerflag>-nostartfiles</linkerflag>
|
|
||||||
<linkerflag>-nostdlib</linkerflag>
|
|
||||||
<directory name="tests">
|
<directory name="tests">
|
||||||
<file>DIB_24BPP_ColorFill-performance.c</file>
|
<file>DIB_24BPP_ColorFill-performance.c</file>
|
||||||
</directory>
|
</directory>
|
||||||
|
|
|
@ -376,8 +376,9 @@ TestSupportCode::WriteStartupFile ( Module& module )
|
||||||
s = s + sprintf ( s, "}\n" );
|
s = s + sprintf ( s, "}\n" );
|
||||||
s = s + sprintf ( s, "\n" );
|
s = s + sprintf ( s, "\n" );
|
||||||
s = s + sprintf ( s, "int\n" );
|
s = s + sprintf ( s, "int\n" );
|
||||||
s = s + sprintf ( s, "mainCRTStartup(HANDLE hInstance,\n" );
|
s = s + sprintf ( s, "STDCALL\n" );
|
||||||
s = s + sprintf ( s, " HANDLE hPrevInstance,\n" );
|
s = s + sprintf ( s, "WinMain(HINSTANCE hInstance,\n" );
|
||||||
|
s = s + sprintf ( s, " HINSTANCE hPrevInstance,\n" );
|
||||||
s = s + sprintf ( s, " LPSTR lpszCmdParam,\n" );
|
s = s + sprintf ( s, " LPSTR lpszCmdParam,\n" );
|
||||||
s = s + sprintf ( s, " int nCmdShow)\n" );
|
s = s + sprintf ( s, " int nCmdShow)\n" );
|
||||||
s = s + sprintf ( s, "{\n" );
|
s = s + sprintf ( s, "{\n" );
|
||||||
|
|
Loading…
Reference in a new issue