Windows port:

- fix small bug in compiling debug console
This commit is contained in:
mtabachenko 2008-05-02 06:26:26 +00:00
parent 611477e9e7
commit 32e83fc1e7
2 changed files with 5 additions and 3 deletions

View File

@ -165,6 +165,7 @@ void LogStop(void) {
///////////////////////////////////////////////////////////////// Console
#ifdef WIN32
#ifdef BETA_VERSION
void OpenConsole()
{
COORD csize;
@ -212,4 +213,5 @@ void printlog(char *fmt, ...) {
ptr=msg; len=strlen(msg);
WriteConsole(hConsole,ptr, (DWORD)len, &tmp, 0);
}
#endif
#endif

View File

@ -53,9 +53,9 @@ void LogStop(void);
#ifdef WIN32
#ifdef BETA_VERSION
extern void OpenConsole();
extern void CloseConsole();
extern void printlog(LPCTSTR *fmt, ...);
void OpenConsole();
void CloseConsole();
void printlog(LPCTSTR *fmt, ...);
#else
#define OpenConsole()
#define CloseConsole()