diff options
author | phintuka <phintuka> | 2006-12-14 12:25:31 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-12-14 12:25:31 +0000 |
commit | 211528f6d1f0fc130f64a614c471c617ba64bdde (patch) | |
tree | 205bd5a6729741d39b4021f8275e4db32697dfe1 | |
parent | 2ee24b3f3f059cbb0390ddcbf835319c52d37412 (diff) | |
download | xineliboutput-211528f6d1f0fc130f64a614c471c617ba64bdde.tar.gz xineliboutput-211528f6d1f0fc130f64a614c471c617ba64bdde.tar.bz2 |
define packed attribute only if not already defined
-rw-r--r-- | xine_input_vdr_net.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xine_input_vdr_net.h b/xine_input_vdr_net.h index 480a5664..7f2e887b 100644 --- a/xine_input_vdr_net.h +++ b/xine_input_vdr_net.h @@ -4,13 +4,19 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr_net.h,v 1.4 2006-12-14 12:23:06 phintuka Exp $ + * $Id: xine_input_vdr_net.h,v 1.5 2006-12-14 12:25:31 phintuka Exp $ * */ #ifndef __XINE_INPUT_VDR_NET_H_ #define __XINE_INPUT_VDR_NET_H_ +#ifndef PACKED +# define PACKED __attribute__((packed)) +#else +# warning PACKED already defined +#endif + #include <arpa/inet.h> #include <endian.h> @@ -70,8 +76,6 @@ extern "C" { #endif -#define PACKED __attribute__((packed)) - /* * TCP / PIPE |