Revision 1934

trunk/src/GNUmakefile (revision 1934)
241 241
endif
242 242

  
243 243
ifeq ($(SHELL),cmd)
244
$(OBJSDIR)optlp-nh99-model7.obj: nh99\model7.cpp
245
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS_OPT_LIB)) -o $@ $<
246

  
247
$(OBJSDIR)saflp-nh99-model7.obj: nh99\model7.cpp
248
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS)) -o $@ $<
249

  
250
$(OBJSDIR)optlp-nh99-model33.obj: nh99\model33.cpp
251
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS_OPT_LIB)) -o $@ $<
252

  
253
$(OBJSDIR)saflp-nh99-model33.obj: nh99\model33.cpp
254
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS)) -o $@ $<
255

  
256 244
$(OBJSDIR)optlp-nh99-banner.obj: nh99\banner.cpp
257 245
ifeq ($(ADMB_VERSION),)
258 246
	$(CXX) -c $(CXXFLAGS_OPT_LIB) -o $@ $<
......
296 284
$(OBJSDIR)saflp-tools99-%.obj:tools99\%.cpp
297 285
	$(CXX) -c $(CXXFLAGS) -o $@ $<
298 286
else
299
$(OBJSDIR)optlp-nh99-model7.obj: nh99/model7.cpp
300
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS_OPT_LIB)) -o $@ $<
301

  
302
$(OBJSDIR)saflp-nh99-model7.obj: nh99/model7.cpp
303
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS)) -o $@ $<
304

  
305
$(OBJSDIR)optlp-nh99-model33.obj: nh99/model33.cpp
306
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS_OPT_LIB)) -o $@ $<
307

  
308
$(OBJSDIR)saflp-nh99-model33.obj: nh99/model33.cpp
309
	$(CXX) -c $(subst -I,-D__SPDLL__ -I,$(CXXFLAGS)) -o $@ $<
310

  
311 287
$(OBJSDIR)optlp-nh99-banner.obj: nh99/banner.cpp
312 288
ifeq ($(ADMB_VERSION),)
313 289
	$(CXX) -c $(CXXFLAGS_OPT_LIB) -o $@ $<
trunk/src/nh99/model33.cpp (revision 1934)
137 137
  }
138 138
}
139 139

  
140
#if defined(__SPDLL__)
140
#if !defined(_MSC_VER)
141 141
  #if defined(_WIN32)
142 142
    #include <windows.h>
143 143
void get_sp_printf(void)
......
154 154

  
155 155
void do_dll_housekeeping(int argc,char ** argv)
156 156
{
157
#if defined(__SPDLL__)
157
#if !defined(_MSC_VER)
158 158
  int on = option_match(argc,argv,"-sp");
159 159
  if (on > -1)
160 160
  {
trunk/src/nh99/model7.cpp (revision 1934)
124 124
  adprogram_name=_argv[0];
125 125
  //int len=strlen(_argv[0]);
126 126
  //for (int i=1;i<=len;i++) adprogram_name[i]=tolower(adprogram_name[i]);
127
#if !defined(__SPDLL__)
127
#if defined(_MSC_VER)
128 128
  strip_full_path(adprogram_name);
129 129
#endif
130 130
  adstring workdir;
......
363 363
#endif
364 364
  adstring tmpstring;
365 365

  
366
#if !defined(__SPDLL__)
366
#if defined(_MSC_VER)
367 367
  //remove path
368 368
  for (int i = adprogram_name.size(); i >= 1; i--)
369 369
  {

Also available in: Unified diff