Fixing a msvc7 comping issue

svn path=/trunk/; revision=26814
This commit is contained in:
Magnus Olsen 2007-05-16 21:03:02 +00:00
parent 316f38cf0f
commit ea1eae3dd9
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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;

View file

@ -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);
}