Fix compile errors WinBoard
[xboard.git] / winboard / winboard.h
index 89c50ab..e2e4182 100644 (file)
@@ -85,6 +85,7 @@ typedef struct {
 typedef struct {\r
   char* name;\r
   void* data;\r
+  int flag; // [HGM] needed to indicate if data was malloc'ed or not\r
 } MySound;\r
 \r
 typedef struct {\r
@@ -131,7 +132,7 @@ VOID ParseFontName(char *name, MyFontParams *mfp);
 void InitComboStrings(HANDLE hwndCombo, char **cd);\r
 BOOLEAN MyLoadSound(MySound *ms);\r
 BOOLEAN MyPlaySound(MySound *ms);\r
-VOID ExitArgError(char *msg, char *badArg);\r
+VOID ExitArgError(char *msg, char *badArg, Boolean quit);\r
 void SaveSettings(char* name);\r
 BOOL BrowseForFolder( const char * title, char * path );\r
 VOID TourneyPopup();\r