ICU-1718 Fix for Windows.

X-SVN-Rev: 8436
This commit is contained in:
George Rhoten 2002-04-11 00:10:51 +00:00
parent 4f6f62fbc7
commit d26acd0c32
2 changed files with 146 additions and 146 deletions

View File

@ -1022,8 +1022,8 @@ static void TestStringCompatibility() {
} }
for (num = 0; num < 0x80; num++) { for (num = 0; num < 0x80; num++) {
testBuf[0] = 0xFF; testBuf[0] = (char)0xFF;
uStringBuf[0] = 0xfffe; uStringBuf[0] = (UChar)0xfffe;
sprintf(testBuf, "%c", num); sprintf(testBuf, "%c", num);
u_sprintf(uStringBuf, NULL, "%c", num); u_sprintf(uStringBuf, NULL, "%c", num);
u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));

View File

@ -50,7 +50,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo # ADD BSC32 /nologo
LINK32=link.exe LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib icuio.lib icuuc.lib ctestfw.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\lib" # ADD LINK32 kernel32.lib icuio.lib icuin.lib icuuc.lib ctestfw.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\lib"
!ELSEIF "$(CFG)" == "iotest - Win32 Debug" !ELSEIF "$(CFG)" == "iotest - Win32 Debug"
@ -74,7 +74,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo # ADD BSC32 /nologo
LINK32=link.exe LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib icuiod.lib icuucd.lib ctestfwd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\lib" # ADD LINK32 kernel32.lib icuiod.lib icuind.lib icuucd.lib ctestfwd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\lib"
!ENDIF !ENDIF