Revision 1600 trunk/src/nh99/model33.cpp

model33.cpp (revision 1600)
140 140
  }
141 141
}
142 142

  
143
#if defined(__SPDLL__)
144
  #if defined(_WIN32)
145
    #include <windows.h>
146
void get_sp_printf(void)
147
{
148
  ad_printf=NULL;
149
/*
150
  HINSTANCE h=LoadLibrary("sqpe.dll");
151
  if(h)
152
    ad_printf= (fptr) GetProcAddress(h,"S_newio_printf");
153
*/
154
}
155
  #endif
156
#endif
157

  
143 158
void do_dll_housekeeping(int argc,char ** argv)
144 159
{
145 160
  int on;
146 161
#if defined(__SPDLL__)
147 162
  if ( (on=option_match(argc,argv,"-sp"))>-1)
148 163
  {
164
  #if defined(_WIN32)
149 165
    get_sp_printf();
166
  #endif
150 167
    ad_exit=spdll_exit;
151 168
  }
152 169
  else if ( (on=option_match(argc,argv,"-spexit"))>-1)

Also available in: Unified diff