1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Linux compilation fixes for dthelp (Matthew Howkins)

This commit is contained in:
Peter Howkins 2012-04-12 16:21:14 +01:00
parent e60d58be07
commit 1d97f19166
7 changed files with 34 additions and 0 deletions

View file

@ -44,6 +44,11 @@ void main(argc, argv)
{
M_WCHAR *wc_userdef;
#if defined(linux)
m_outfile = stdout;
m_errfile = stderr;
#endif
m_argc = argc ;
m_argv = argv ;

View file

@ -439,8 +439,13 @@ M_PAREXTERN int m_argc ;
M_PAREXTERN char **m_argv ;
/* PARSER output file */
#if defined(linux)
M_PAREXTERN FILE *m_outfile;
M_PAREXTERN FILE *m_errfile;
#else
M_PAREXTERN FILE *m_outfile M_PARINIT(stdout) ;
M_PAREXTERN FILE *m_errfile M_PARINIT(stdout) ;
#endif
/* Save processing instruction */
M_PAREXTERN M_WCHAR m_pi[M_PILEN + 1] ;

View file

@ -55,6 +55,11 @@ void main(argc, argv)
sizeof(literal) + M_LITLEN - 2)] ;
#endif
#if defined(linux)
m_outfile = stdout;
m_errfile = stderr;
#endif
m_argc = argc ;
m_argv = argv ;

View file

@ -437,8 +437,13 @@ M_PAREXTERN int m_argc ;
M_PAREXTERN char **m_argv ;
/* PARSER output file */
#if defined(linux)
M_PAREXTERN FILE *m_outfile;
M_PAREXTERN FILE *m_errfile;
#else
M_PAREXTERN FILE *m_outfile M_PARINIT(stdout) ;
M_PAREXTERN FILE *m_errfile M_PARINIT(stdout) ;
#endif
/* Save processing instruction */
M_PAREXTERN M_WCHAR m_pi[M_PILEN + 1] ;

View file

@ -35,6 +35,10 @@
#endif /* __osf__ */
#include <errno.h>
#if defined(linux)
#include <getopt.h>
#endif
#include "userinc.h"
#include "globdec.h"

View file

@ -55,6 +55,11 @@ void main(argc, argv)
sizeof(literal) + M_LITLEN - 2)] ;
#endif
#if defined(linux)
m_outfile = stdout;
m_errfile = stderr;
#endif
m_argc = argc ;
m_argv = argv ;

View file

@ -437,8 +437,13 @@ M_PAREXTERN int m_argc ;
M_PAREXTERN char **m_argv ;
/* PARSER output file */
#if defined(linux)
M_PAREXTERN FILE *m_outfile;
M_PAREXTERN FILE *m_errfile;
#else
M_PAREXTERN FILE *m_outfile M_PARINIT(stdout) ;
M_PAREXTERN FILE *m_errfile M_PARINIT(stderr) ;
#endif
/* Save processing instruction */
M_PAREXTERN M_WCHAR m_pi[M_PILEN + 1] ;