Changeset 7943 for trunk/indexers


Ignore:
Timestamp:
2004-08-14T07:12:40+12:00 (20 years ago)
Author:
kjdon
Message:

making mgpp up to date with gs version:Header now checks for #ifdef to see if getopt has been defined elsewhere. If it has then it doesn't bother with the infomation in this file since it might conflict with newer definitions. davidb 2004/05/03

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/lib/getopt_old.h

    r3365 r7943  
    1515   along with this program; if not, write to the Free Software
    1616   Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
     17
     18#ifndef HAVE_DECL_GETOPT
    1719
    1820#ifndef _GETOPT_H
     
    103105  extern int getopt (int argc, char *const *argv, const char *shortopts);
    104106#else               /* not __GNU_LIBRARY__ */
    105   extern int getopt ();
     107  int getopt (int, char * const *, const char *);
    106108#endif              /* not __GNU_LIBRARY__ */
    107109  extern int getopt_long (int argc, char *const *argv, const char *shortopts,
     
    129131
    130132#endif              /* _GETOPT_H */
     133
     134#endif
Note: See TracChangeset for help on using the changeset viewer.