Revision 1934 trunk/src/nh99/model7.cpp

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