ups 3.35 compilation woes

From: Terry R. Friedrichsen (terry_at_venus.sunquest.com)
Date: Wed Jan 03 2001 - 14:53:09 GMT


Under RedHat Linux 7.0 with gcc (egcs) 2.96:

To eliminate warning about duplicate definition of NULL:

*** wdbyte.c.dist       Tue Jun  9 14:53:59 1998
--- wdbyte.c    Fri Dec 29 08:25:05 2000
***************
*** 18,23 ****
--- 18,26 ----
  #include "menu_priv.h"
  #include "wdbyte.h"
  
+ #ifdef NULL
+ #undef NULL
+ #endif
  #define NULL 0
  
  /*  Emulation of the perq wdbyte(2) system call over wn.


Terry R. Friedrichsen

terry_at_venus.sunquest.com 


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT