Changeset 016648 in git


Ignore:
Timestamp:
Nov 25, 2011, 2:36:47 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
Children:
802b082a764f90d5988c4a3e70a438f757e3e775
Parents:
b565d4f69d962cf1746a77db46934de7cc17f5e4
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-11-25 14:36:47+01:00
git-committer:
Martin Lee <martinlee84@web.de>2013-01-18 16:15:04+01:00
Message:
port: solaris does not like local structs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    rb565d4 r016648  
    293293  return NULL;
    294294}
     295#ifndef LIBSINGULAR
     296// see below:
     297struct soptionStruct
     298{
     299  const char * name;
     300  unsigned   setval;
     301  unsigned   resetval;
     302};
     303extern struct soptionStruct optionStruct[];
     304extern struct soptionStruct verboseStruct[];
     305#endif
    295306
    296307BOOLEAN iiAllStart(procinfov pi, char *p,feBufferTypes t, int l)
     
    309320  }
    310321  #ifndef LIBSINGULAR
    311   // the access to optionStruct and verboseStruct do not work 
     322  // the access to optionStruct and verboseStruct do not work
    312323  // on x86_64-Linux for pic-code
    313324  int save11= ( si_opt_1 & ~TEST_RINGDEP_OPTS);
     
    317328  (pi->libname!=NULL) && (pi->libname[0]!='\0'))
    318329  {
    319     struct soptionStruct
    320     {
    321       const char * name;
    322       unsigned   setval;
    323       unsigned   resetval;
    324     };
    325     extern struct soptionStruct optionStruct[];
    326     extern struct soptionStruct verboseStruct[];
    327330    Warn("option changed in proc %s from %s",pi->procname,pi->libname);
    328331    int i;
Note: See TracChangeset for help on using the changeset viewer.