[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp
From: |
Michael Goffioul |
Subject: |
Re: Error in Octave-gui build :src/terminal/win32/QConsole.cpp |
Date: |
Mon, 23 Jan 2012 10:16:33 +0000 |
On Mon, Jan 23, 2012 at 10:08 AM, Tatsuro MATSUOKA
<address@hidden> wrote:
> I have searched GetConsoleWindow in MinGW\include and found
>
> MinGW\include\wincon.h:153:HWND WINAPI GetConsoleWindow(void);
>
> Around line 153 in wincon.h
>
> #if (_WIN32_WINNT >= 0x0500)
> BOOL WINAPI GetConsoleDisplayMode(LPDWORD);
> HWND WINAPI GetConsoleWindow(void);
> #endif
> #if (_WIN32_WINNT >= 0x0501)
> DWORD WINAPI GetConsoleProcessList(LPDWORD, DWORD);
> #endif
>
> For Windows XP or later, is WIN32_WINNT >= 0x0501 hold?
Yes, of course. See
http://msdn.microsoft.com/en-us/library/aa383745(v=vs.85).aspx
> Do I have to set -DWIN32_NT=0x500 ?
You can probably use at least -D_WIN32_WINNT=0x0502
Michael.