diff options
-rw-r--r-- | wiretap/wtap-int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h index 0a690806b1..3d76e47579 100644 --- a/wiretap/wtap-int.h +++ b/wiretap/wtap-int.h @@ -288,6 +288,14 @@ extern gint wtap_num_file_types; } #endif +#ifndef phtoles +#define phtoles(p, v) \ + { \ + (p)[0] = (guint8)((v) >> 0); \ + (p)[1] = (guint8)((v) >> 8); \ + } +#endif + #ifndef pletonll #define pletonll(p, v) \ { \ |