diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-20 22:29:11 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-21 05:29:48 +0000 |
commit | 7522497b67ca259e08c9d2c990437c0c0afb9955 (patch) | |
tree | 4fb88bc9c729b125b025db5229ea42eaf32b01cc /cmakeconfig.h.in | |
parent | 8dd032e84aca50e0b6aec75ea0498c0a70197409 (diff) | |
download | wireshark-7522497b67ca259e08c9d2c990437c0c0afb9955.tar.gz wireshark-7522497b67ca259e08c9d2c990437c0c0afb9955.tar.bz2 wireshark-7522497b67ca259e08c9d2c990437c0c0afb9955.zip |
With CMake, define WANT_PACKET_EDITOR in config.h.
Just as we do with autotools and nmake, define it in config.h, so it's
defined the same for every single file, rather than defining it in one
particular directory's Makefiles, so that it's defined for some code but
not all.
Change-Id: Ic41cd10f2b502e0be76c134cbeaad94dff7623f8
Reviewed-on: https://code.wireshark.org/review/4891
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index fe7b916be1..326818e086 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -371,6 +371,9 @@ /* Define if we have QtWinExtras */ /* #cmakedefine QT_WINEXTRAS_LIB 1 */ +/* Support for packet editor */ +#cmakedefine WANT_PACKET_EDITOR 1 + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ #cmakedefine WORDS_BIGENDIAN 1 |