improved HashTest.cpp
This commit is contained in:
parent
4d40490d43
commit
d09e0e91ff
@ -8,11 +8,7 @@ using namespace std;
|
|||||||
using namespace hgl;
|
using namespace hgl;
|
||||||
using namespace hgl::util;
|
using namespace hgl::util;
|
||||||
|
|
||||||
#if HGL_OS == HGL_OS_Windows
|
int os_main(int argc,os_char **argv)
|
||||||
int wmain(int argc,wchar_t **argv)
|
|
||||||
#else
|
|
||||||
int main(int argc,char **argv)
|
|
||||||
#endif//HGL_OS == HGL_OS_Windows
|
|
||||||
{
|
{
|
||||||
if(argc<2)
|
if(argc<2)
|
||||||
{
|
{
|
||||||
@ -20,11 +16,7 @@ int main(int argc,char **argv)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HGL_OS == HGL_OS_Windows
|
os_out<<OS_TEXT("CountHash \"")<<argv[1]<<OS_TEXT('"')<<endl;
|
||||||
wcout<<L"CountHash \""<<argv[1]<<L'"'<<endl;
|
|
||||||
#else
|
|
||||||
cout<<"CountHash \""<<argv[1]<<'"'<<endl;
|
|
||||||
#endif//HGL_OS == HGL_OS_Windows
|
|
||||||
|
|
||||||
void *file_data;
|
void *file_data;
|
||||||
int64 file_length;
|
int64 file_length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user