Re: ping.c
- From: Mark Galassi <rosalia cygnus com>
- To: martin home-of-linux org
- Cc: Greg lee <lee moore5651 lll hawaii edu>, gnome-list gnome org
- Subject: Re: ping.c
- Date: Thu, 9 Jul 1998 07:59:06 -0600 (MDT)
Martin> #if (_LINUX_C_LIB_VERSION_MAJOR == 5)
Martin> typedef struct icmphdr struct_icmp;
Except that you should do a test for the existence of struct icmp,
rather than a test for a particular version of glibc.
As I mentioned earlier, the problem is not just a linux one. OSF/1
does not have struct icmp, whereas solaris has it.
I have not checked other OSes yet.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]