Kaydet (Commit) 3f0c1551 authored tarafından Jack Jansen's avatar Jack Jansen

Added USE_* ifdefs for a couple of optional modules.

üst 2a58638e
...@@ -252,7 +252,9 @@ extern void initsocket(); ...@@ -252,7 +252,9 @@ extern void initsocket();
extern void initaudioop(); extern void initaudioop();
extern void initimageop(); extern void initimageop();
extern void initrgbimg(); extern void initrgbimg();
#ifdef USE_STDWIN
extern void initstdwin(); extern void initstdwin();
#endif
extern void initmd5(); extern void initmd5();
extern void initmpz(); extern void initmpz();
extern void initrotor(); extern void initrotor();
...@@ -273,12 +275,21 @@ extern void initnew(); ...@@ -273,12 +275,21 @@ extern void initnew();
extern void initdl(); extern void initdl();
extern void initsyslog(); extern void initsyslog();
extern void initgestalt(); extern void initgestalt();
extern void initmacfs();
#ifdef THINK
extern void initmacconsole(); extern void initmacconsole();
#endif
#ifdef USE_MACCTB
extern void initctb(); extern void initctb();
extern void initmacfs(); #endif
#ifdef USE_MACSPEECH
extern void initmacspeech(); extern void initmacspeech();
#endif
#ifdef USE_MACTCP
extern void initmacdnr(); extern void initmacdnr();
extern void initmactcp(); extern void initmactcp();
#endif
#ifdef USE_BGEN
extern void initAE(); extern void initAE();
extern void initCtl(); extern void initCtl();
extern void initDlg(); extern void initDlg();
...@@ -288,9 +299,9 @@ extern void initQd(); ...@@ -288,9 +299,9 @@ extern void initQd();
extern void initRes(); extern void initRes();
extern void initSnd(); extern void initSnd();
extern void initWin(); extern void initWin();
#endif
#define HAVE_IMG #ifdef USE_IMG
#ifdef HAVE_IMG
extern void initimgcolormap(); extern void initimgcolormap();
extern void initimgformat(); extern void initimgformat();
extern void initimggif(); extern void initimggif();
...@@ -333,21 +344,23 @@ struct { ...@@ -333,21 +344,23 @@ struct {
{"rotor", initrotor}, {"rotor", initrotor},
{"new", initnew}, {"new", initnew},
{"gestalt", initgestalt}, {"gestalt", initgestalt},
{"macfs", initmacfs},
#ifdef THINK_C #ifdef THINK_C
/* This is an interface to the Think runtime */ /* This is an interface to the Think runtime */
{"macconsole", initmacconsole}, {"macconsole", initmacconsole},
#endif #endif
#ifndef MPW #ifdef USE_MACCTB
/* Do this one later... */
{"ctb", initctb}, {"ctb", initctb},
#endif #endif
{"macfs", initmacfs},
#ifdef __MWERKS__
/* This could probably be made to work on other compilers... */ /* This could probably be made to work on other compilers... */
#ifdef USE_MACSPEECH
{"macspeech", initmacspeech}, {"macspeech", initmacspeech},
#endif
#ifdef USE_MACTCP
{"macdnr", initmacdnr}, {"macdnr", initmacdnr},
{"mactcp", initmactcp}, {"mactcp", initmactcp},
#endif #endif
#ifdef USE_BGEN
{"AE", initAE}, {"AE", initAE},
{"Ctl", initCtl}, {"Ctl", initCtl},
{"Dlg", initDlg}, {"Dlg", initDlg},
...@@ -357,8 +370,8 @@ struct { ...@@ -357,8 +370,8 @@ struct {
{"Snd", initSnd}, {"Snd", initSnd},
{"Win", initWin}, {"Win", initWin},
{"Res", initRes}, {"Res", initRes},
#endif
#ifdef HAVE_IMG #ifdef USE_IMG
{"imgcolormap", initimgcolormap}, {"imgcolormap", initimgcolormap},
{"imgformat", initimgformat}, {"imgformat", initimgformat},
{"imggif", initimggif}, {"imggif", initimggif},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment