2011-07-06 00:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/gtwin/gtwin.c
! using HB_ prefixed name for locally defined
CONSOLE_SCREEN_BUFFER_INFOEX structure related names
and then these are mapped to Windows names using #define
(untested)
! disabled whole above logic since it's not used currently
anyway. this should fix compilation with mingw64-tdm
and some other mingw64 builds with Windows headers
featuring CONSOLE_SCREEN_BUFFER_INFOEX structure
; review me please
This commit is contained in:
@@ -16,6 +16,18 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-07-06 00:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/rtl/gtwin/gtwin.c
|
||||
! using HB_ prefixed name for locally defined
|
||||
CONSOLE_SCREEN_BUFFER_INFOEX structure related names
|
||||
and then these are mapped to Windows names using #define
|
||||
(untested)
|
||||
! disabled whole above logic since it's not used currently
|
||||
anyway. this should fix compilation with mingw64-tdm
|
||||
and some other mingw64 builds with Windows headers
|
||||
featuring CONSOLE_SCREEN_BUFFER_INFOEX structure
|
||||
; review me please
|
||||
|
||||
2011-07-05 22:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
|
||||
* deleted empty lines and commented bad code
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
# define HB_GTWIN_USE_SETCONSOLEMENUCLOSE /* Enable undocumented Windows API function call */
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#if ( defined( NTDDI_VERSION ) && ( ( defined( NTDDI_VISTA ) && NTDDI_VERSION >= NTDDI_VISTA ) || \
|
||||
( defined( NTDDI_LONGHORN ) && NTDDI_VERSION >= NTDDI_LONGHORN ) ) ) && ! defined( __POCC__ )
|
||||
# if !defined( HB_GTWIN_USE_PCONSOLEINFOEX )
|
||||
@@ -114,7 +115,7 @@
|
||||
# endif
|
||||
#else
|
||||
# if ! defined( __WATCOMC__ ) || ( __WATCOMC__ < 1280 )
|
||||
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX
|
||||
typedef struct _HB_CONSOLE_SCREEN_BUFFER_INFOEX
|
||||
{
|
||||
ULONG cbSize;
|
||||
COORD dwSize;
|
||||
@@ -125,12 +126,15 @@
|
||||
WORD wPopupAttributes;
|
||||
BOOL bFullscreenSupported;
|
||||
COLORREF ColorTable[ 16 ];
|
||||
} CONSOLE_SCREEN_BUFFER_INFOEX, * PCONSOLE_SCREEN_BUFFER_INFOEX;
|
||||
} HB_CONSOLE_SCREEN_BUFFER_INFOEX, * HB_PCONSOLE_SCREEN_BUFFER_INFOEX;
|
||||
#define CONSOLE_SCREEN_BUFFER_INFOEX HB_CONSOLE_SCREEN_BUFFER_INFOEX
|
||||
#define PCONSOLE_SCREEN_BUFFER_INFOEX HB_PCONSOLE_SCREEN_BUFFER_INFOEX
|
||||
# endif
|
||||
# if !defined( HB_GTWIN_USE_PCONSOLEINFOEX )
|
||||
# define HB_GTWIN_USE_PCONSOLEINFOEX
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef HB_GTWIN_USE_PCONSOLEINFOEX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user