Add the correct hooks to compile as a win32 console app.

This commit is contained in:
Pavel Krajcevski 2012-11-07 18:22:12 -05:00
parent 8761821220
commit cb126c40ce

View file

@ -1,6 +1,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <SDKDDKVer.h>
#include <Windows.h>
#include "BlockStats.h"
@ -26,9 +27,9 @@ void ExtractBasename(const char *filename, char *buf, uint32 bufSz) {
}
}
}
int main(int argc, char **argv) {
int _tmain(int argc, _TCHAR* argv[])
{
int fileArg = 1;
if(fileArg == argc) {
PrintUsage();