Apply patch 1329540: Fixes compilation on GCC4.1 Changed order of definitions as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2349
This commit is contained in:
parent
9d1cf58132
commit
593e664e8b
1 changed files with 5 additions and 8 deletions
|
@ -30,12 +30,6 @@
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
class Program;
|
||||
|
||||
typedef void (PROGRAMS_Main)(Program * * make);
|
||||
void PROGRAMS_MakeFile(char * name,PROGRAMS_Main * main);
|
||||
|
||||
class Program {
|
||||
public:
|
||||
Program();
|
||||
|
@ -47,12 +41,15 @@ public:
|
|||
CommandLine * cmd;
|
||||
DOS_PSP * psp;
|
||||
virtual void Run(void)=0;
|
||||
bool Program::GetEnvStr(const char * entry,std::string & result);
|
||||
bool GetEnvStr(const char * entry,std::string & result);
|
||||
bool GetEnvNum(Bitu num,std::string & result);
|
||||
Bitu GetEnvCount(void);
|
||||
bool SetEnv(const char * entry,const char * new_string);
|
||||
void WriteOut(const char * format,...); /* Write to standard output */
|
||||
void WriteOut(const char * format,...); /* Write to standard output */
|
||||
|
||||
};
|
||||
|
||||
typedef void (PROGRAMS_Main)(Program * * make);
|
||||
void PROGRAMS_MakeFile(char * name,PROGRAMS_Main * main);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue