Some small changes to ensure code compiles with GCC. (PR #877)

This commit is contained in:
Andrea 2020-11-27 20:57:35 +00:00 committed by GitHub
parent 8ef34d7d76
commit 3d70a9dd35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 3 deletions

View File

@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "Speech.h"
#endif
static const UINT VERSIONSTRING_SIZE = 16;
static const UINT VERSIONSTRING_SIZE = 16;
static UINT16 g_OldAppleWinVersion[4] = {0};
UINT16 g_AppleWinVersion[4] = { 0 };
TCHAR VERSIONSTRING[VERSIONSTRING_SIZE] = "xx.yy.zz.ww";

View File

@ -1,6 +1,7 @@
#pragma once
#include "Common.h"
#include "Card.h"
// Memory Flag
#define MF_80STORE 0x00000001

View File

@ -1,5 +1,7 @@
#pragma once
#include "Video.h"
// Globals (Public)
extern uint16_t g_nVideoClockVert;
extern uint16_t g_nVideoClockHorz;

View File

@ -45,7 +45,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "Mockingboard.h"
#include "Windows/WinFrame.h"
#include "Configuration/PropertySheet.h"
#include "Configuration/IPropertySheet.h"
#include "Tfe/Tfe.h"
// Backwards compatibility with AppleWin <1.24.0

View File

@ -100,7 +100,7 @@ static bool g_bVideoScannerNTSC = true; // NTSC video scanning (or PAL)
// NOTE: KEEP IN SYNC: VideoType_e g_aVideoChoices g_apVideoModeDesc
// The window title will be set to this.
const char *g_apVideoModeDesc[ NUM_VIDEO_MODES ] =
static const char *g_apVideoModeDesc[ NUM_VIDEO_MODES ] =
{
"Monochrome (Custom)"
, "Color (Composite Idealized)"