[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_menus.c



  User: danmc   
  Date: 07/05/08 17:49:48

  Modified:    .        x_menus.c
  Log:
  avoid trying to pull in glib/gstdio.h on older glibs where it does not exist.
  
  
  Revision  Changes    Path
  1.43      +6 -2      eda/geda/gaf/gschem/src/x_menus.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_menus.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_menus.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -b -r1.42 -r1.43
  --- x_menus.c	5 May 2007 12:40:45 -0000	1.42
  +++ x_menus.c	8 May 2007 21:49:47 -0000	1.43
  @@ -16,18 +16,22 @@
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
    */
  -#include <config.h>
  +#include "config.h"
   
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
   
  -#include <glib/gstdio.h>
  +
   #include <libgeda/libgeda.h>
   
   #include "../include/globals.h"
   #include "../include/prototype.h"
   
  +#if GLIB_CHECK_VERSION(2,6,0)
  +#include <glib/gstdio.h>
  +#endif
  +
   #ifdef HAVE_LIBDMALLOC
   #include <dmalloc.h>
   #endif
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs