[mpls-linux-general] A question about coding
Status: Beta
Brought to you by:
jleu
From: <zjh...@so...> - 2002-03-04 02:03:28
|
hi,Jim I have read your program about ldp:ldp_portable carefully.And I tried to port the program to other os:vxworks.I have a question about the code: #ifdef __LDP_LINUX__ #include "ldp_list.h" #include "ldp_refcnt.h" #else #include <ldp/ldp_list.h> #include <ldp/ldp_refcnt.h> #endif What are your purpose to write this segment ?Why not write as follows: #include "ldp_list.h" #include "ldp_refcnt.h" all thanks! |