mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 05:44:26 +08:00
Fixing a msvc7 comping issue
svn path=/trunk/; revision=26814
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
<library>gdi32</library>
|
||||
<library>ddraw</library>
|
||||
<library>dxguid</library>
|
||||
<file>ddraw_test.c</file>
|
||||
<file>ddraw_test.cpp</file>
|
||||
<file>testlist.cpp</file>
|
||||
</module>
|
||||
|
||||
@@ -20,7 +20,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
for (j = 0; j < NumTests(); j++)
|
||||
{
|
||||
if (stricmp(argv[i], TestList[j].Test) == 0)
|
||||
if (_stricmp(argv[i], TestList[j].Test) == 0)
|
||||
{
|
||||
passed = 0;
|
||||
failed = 0;
|
||||
@@ -19,7 +19,7 @@ TEST TestList[] =
|
||||
};
|
||||
|
||||
/* The function that gives us the number of tests */
|
||||
extern "C" INT NumTests(void)
|
||||
INT NumTests(void)
|
||||
{
|
||||
return sizeof(TestList) / sizeof(TEST);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user