The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / config.h.win32 @ master

History | View | Annotate | Download (7.59 KB)

# Date Author Comment
bed29af4 08/20/2014 11:34 PM Roland Knall

Extcap Capture Interface

Extcap is a plugin interface, which allows for the usage
of external capture interfaces via pipes using a predefined
configuration language which results in a graphical gui.
This implementation seeks for a generic implementation,...
5bfc21cf 07/06/2014 05:03 PM Guy Harris

Clean up handling of missing functions.

With autotools, CMake, and nmake, if we have a function, #define
HAVE_{function_name_in_all_caps}, otherwise don't #define it.

If we provide our own version of a function in libwsutil, make sure we
have a header that declares it, and ONLY include that header if...

554c902b 06/21/2014 02:09 PM Graham Bloice

Move the Windows build target OS definitions to Win XP

This doesn't preclude use on < XP but does potentially allow
use of API's that don't exist on Win2K, and doing so would then
stop the exe from running on 2K.

Change-Id: I08b58bd510b832ddabbb717dd73eb7a89264048e...

cc37b503 06/18/2014 02:03 PM Pascal Quantin

Get rid of obsolete references to nettle

Bug: 2089
Change-Id: Ie3337a1b750d8d95f6291c77dfd19cd1b0c57e83
Reviewed-on: https://code.wireshark.org/review/2388
Tested-by: Pascal Quantin <>
Reviewed-by: Pascal Quantin <>

048646d3 06/16/2014 06:57 PM Guy Harris

More Python removal.

Fix a duplicate HAVE_LUA while we're at it.

Change-Id: I21acf388498a996701adea401551a65c9ba4f5f0
Reviewed-on: https://code.wireshark.org/review/2285
Reviewed-by: Guy Harris <>

fcb019ac 06/10/2014 10:51 AM AndersBroman

Change HAVE_SSE42 to HAVE_SSE4_2 add $(SIMD_FLAGS)
Add autotools macros to distribution
Call AX_EXT to define HAVE_SSE4_2

Change-Id: I9ff085d923dfafb32510cdd14290e74a2aaea302
Reviewed-on: https://code.wireshark.org/review/2110
Tested-by: Anders Broman <>...

fcb710ba 06/09/2014 08:02 AM Jakub Zawadzki

Add sse4.2 optimized function ws_mempbrk_sse42()

In text protocols, like SIP, lot of time is spend guint8_pbrk(),
assume that text is not binary (no NULs), and use SSE4.2 pcmpistri
instruction.

Also move & rename guint8_pbrk() from tvbuff.c as _ws_mempbrk....

7d77d753 03/31/2014 02:49 PM Alexis La Goutte

Continue to remove $Id$ from top of file

(Using sed :sed -i '/^\/\* \$Id\$ \*\//,+0 d') ( /* $Id */ )

Change-Id: I46e928d7f2a307c35876ed5d34cb6b7cccfcd6e9
Reviewed-on: https://code.wireshark.org/review/886
Reviewed-by: Anders Broman <>

3ccec6e2 12/08/2013 04:28 PM Graham Bloice

Add MSC version for VS2013.

svn path=/trunk/; revision=53870

29bcbc55 10/05/2013 06:41 PM Jörg Mayer

(Hopefully) unbreak windows build (#define'ing to 0 is not
undefined).

svn path=/trunk/; revision=52387

07a5c744 10/05/2013 05:56 PM Jörg Mayer

Invert NEED_INET_ATON_H to HAVE_INET_ATON_H
Remove unused NEED_G_ASCII_STRTOULL_H

svn path=/trunk/; revision=52385

a79e5d5b 03/03/2013 02:34 PM Gerald Combs

Check to see if GLib's printf routines support the X/Open / POSIX
thousands grouping (') flag and use it in format_size if it's available.
As far as I can tell this translates to "everywhere except Windows and
OpenBSD". According to the various build logs at...

1ebdb2e5 03/01/2013 06:53 PM Balint Reczey

Export libwireshark symbols using WS_DLL_PUBLIC define

Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.

svn path=/trunk/; revision=47992

e48236a4 02/19/2013 05:21 PM Gerald Combs

Add automatic software update checks for Win32 using WinSparkle. Add
preferences (currently hidden) to disable updates, set the update
frequency, and set the update "channel" (stable vs development). Add a
"Help" menu item to manually check for updates.

svn path=/trunk/; revision=47748

abc482e5 09/20/2012 09:42 PM Jeff Morriss

Revert r45018 and r45019: put config.h back in lemon.c and take U back off
the compile line when building with cmake.

Put U's definition in config.h when building with autofoo and on Windows.

svn path=/trunk/; revision=45034

4faf9092 09/20/2012 04:49 PM Bill Meier

Add a missing C comment termination; (Should fix buildbot error ?)

svn path=/trunk/; revision=45031

60f3fcbb 09/20/2012 04:07 PM Bill Meier

Fix a typo in SVN #44995 which caused building Wireshark with VS 2012 to fail.

svn path=/trunk/; revision=45029

0a04950f 09/18/2012 08:07 PM Bill Meier

Add VC11 (VS2012) to an '#if _MSC_VER == 1500 || ...' test.
TBD: is really required.

svn path=/trunk/; revision=44995

d8a0279e 09/18/2012 05:52 PM Jeff Morriss

From Chris Maynard via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 :

Add VERSION_MAJOR, VERSION_MINOR, and VERSION_MICRO to the config.h on
Windows (actually Chris' patch included VERSION_BUILD and VERSION_EXTRA but
I've left those out to match what we have on *NIX now)....

fcb0307f 08/23/2012 07:11 AM Jörg Mayer

The name configure.in has been deprecated for many years.
Use configure.ac instead.

svn path=/trunk/; revision=44630

e6e6d621 06/25/2012 04:42 PM Anders Broman

From Tony Trinh:
Update Lua from 5.1 to 5.2

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400

svn path=/trunk/; revision=43482

41232f17 06/20/2012 03:11 PM Jörg Mayer

Remove HAVE_WIRELESS_TOOLBAR from the other build systems.

svn path=/trunk/; revision=43419

227eb36c 06/19/2012 08:42 AM Anders Broman

Start to have an generic wireless toolbar. Sligtly modified patch from
Pontus Fuchs.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

svn path=/trunk/; revision=43354

23a52023 01/04/2012 05:13 PM Gerald Combs

Add initial support for Qt along with a "ui" subdirectory.

svn path=/trunk/; revision=40378

7d442f4c 11/07/2011 06:42 PM Gerald Combs

Change the use of threads from "mostly always, depending on your
configure options and Gtk+ and GLib versions" to "always".

svn path=/trunk/; revision=39751

d40223b6 10/05/2011 07:02 PM Gerald Combs

Add a HAVE_GEOIP_V6 configuration option and enable it by default.

svn path=/trunk/; revision=39283

576ab168 09/25/2011 05:27 PM Jörg Mayer

Get rid of (hopefully) all configure options to enable MAIN_MENU_USE_UIMANAGER
as it is the only option left.

svn path=/trunk/; revision=39138

5689955e 08/06/2011 02:36 PM Guy Harris

Move the *pcap stuff together. Add an item for
HAVE_PCAP_GET_SELECTABLE_FD to make it clear that it is never defined on
Windows.

svn path=/trunk/; revision=38380

ffd28912 08/01/2011 08:38 AM Stig Bjørlykke

Another fix for building with MSVC2005.

The previous fixes in r37728 and r37730 did build a wireshark which was
unable to use the native windows file dialog (GetOpenFileName).

svn path=/trunk/; revision=38299

47c271fa 07/14/2011 09:30 PM Chris Maynard

No need to define USE_THREADS twice.

svn path=/trunk/; revision=38037

a533d70b 07/14/2011 07:18 PM Gerald Combs

On Windows enable threads everywhere instead of just in dumpcap. If
threads are enabled use them to check the recent file list. Fixes bug
3810.

svn path=/trunk/; revision=38033

8443bbbf 06/28/2011 05:00 AM Stig Bjørlykke

Replace all strerror() with g_strerror().
Remove our local strerror implementation.
Mark strerror as locale unsafe API.

This fixes bug 5715.

svn path=/trunk/; revision=37812

0501a485 06/23/2011 07:04 PM Gerald Combs

Remove old PCRE references from the Windows build environment. We're not
likely to add it back to wireshark-win32-libs and it was never available
in wireshark-win64-libs.

svn path=/trunk/; revision=37778

440d1c4e 06/20/2011 04:58 AM Stig Bjørlykke

AttachConsole() needs _WIN32_WINNT 0x0500.

svn path=/trunk/; revision=37730

8f7cbf3a 06/20/2011 03:14 AM Stig Bjørlykke

Add back support for building with MSVC2005 (and older).

svn path=/trunk/; revision=37728

8d88f3a7 06/17/2011 01:52 PM Gerald Combs

Make pcap-ng the default. Add a compile-time option to prefer pcap-ng or
pcap. Add a "-P" capture option which tries to use pcap instead of
pcap-ng ("-P" seemed to be the best option but we may want to use a
different letter).

Update the documentation and release notes....

4f525e3a 05/31/2011 05:38 PM Anders Broman

Remove HAVE_AIRPDCAP

svn path=/trunk/; revision=37495

10ed2357 05/12/2011 01:46 PM Chris Maynard

WANT_PACKET_EDITOR fixups for Windows.

svn path=/trunk/; revision=37091

b6804078 05/12/2011 01:14 PM Jakub Zawadzki

Conditional support for packet-editor [default=no].

svn path=/trunk/; revision=37084

50e30e3c 05/12/2011 06:56 AM Anders Broman

Make the use of UIManager a configure option.
NOTE Only for Windows.

Additional moves to UIManager.

svn path=/trunk/; revision=37072

6ff4737f 04/29/2011 01:30 PM Jeff Morriss

On Windows: don't (try but fail--the code did not work) to define
HAVE_GZLCEARERR. Define HAVE_INFLATEPRIME if we HAVE_LIBZ.

svn path=/trunk/; revision=36954

dbc7c807 03/08/2011 09:55 AM Bill Meier

Remove the 'NEW_PACKET_LIST' defines & etc (since the code no longer supports the old packet list)

svn path=/trunk/; revision=36165

cb3aa2b6 02/17/2011 07:33 PM Gerald Combs

Disable Code Analysis warning C6011 for now. Hopefully Clang can pick
up the slack.

svn path=/trunk/; revision=35994

b4f663a2 02/17/2011 06:11 PM Guy Harris

On Windows, try putting __declspec(noreturn) in front of declarations of
routines that don't return. (This requires that some files include
config.h to get WS_MSVC_NORETURN declared properly.)

svn path=/trunk/; revision=35989

d98194ca 11/26/2010 08:13 PM Stephen Fisher

Fix typo in comment

svn path=/trunk/; revision=35037

6b7aa686 11/26/2010 06:50 PM Stephen Fisher

Define HAVE_GTK in config.h when compiling with GTK for the GUI

svn path=/trunk/; revision=35036

6c97a708 10/03/2010 06:42 PM Sake Blok

Make "bpf_image" available on Windows. This enables the "Compile BPF" button and "dumpcap -d" on Windows.

svn path=/trunk/; revision=34357

f3e94f67 10/03/2010 08:04 AM Sake Blok

Retry of SVN 34338, now tested on my WinXP dev VM:

Use pcap_open_dead instead of pcap_create for the compile BPF button.

svn path=/trunk/; revision=34340

45964ddc 08/21/2010 09:48 AM Bill Meier

New packet list is no longer experimental.

svn path=/trunk/; revision=33876

fe79af8f 06/01/2010 06:20 PM Gerald Combs

From Kovarththanan Rajaratnam via bug 3500:

Sébastien's initial commit [1] didn't contain support for embedding Python on
Windows.

[1] http://anonsvn.wireshark.org/viewvc?view=rev&revision=28529

From me:

Comment out PYTHON_EMBED for now.

Start a list of known Python+CRT versions....

808a95b1 04/14/2010 05:56 PM Bill Meier

Some changes req'd to build Wireshark with VS 2010 (VC10). [More changes still needed].

svn path=/trunk/; revision=32468

4827f975 03/17/2010 03:31 PM Guy Harris

Add HAVE_PCAP_FREE_DATALINKS to config.h.win32, as we've added it to
config.nmake and Makefile.nmake.

svn path=/trunk/; revision=32224

8fc1491a 12/21/2009 04:06 PM Gerald Combs

Switch to using a bundled version of the openSUSE Build Service packages
for GNUTLS since they provide 32-bit and 64-bit Windows packages. We no
longer have winposixtype.h, so remove its #includes and add a ssize_t
typedef to config.h.win32.

svn path=/trunk/; revision=31341

7046509b 12/18/2009 03:36 PM Gerald Combs

Use the WinPcap version of pcap_datalink_val_to_description if it's
present. Add an entry for DLT_PPI in case it's not.

svn path=/trunk/; revision=31316

488253bf 12/10/2009 10:39 PM Guy Harris

Add the time zone abbreviation to the result of abs_time_to_str() and
abs_time_secs_to_str().

svn path=/trunk/; revision=31234

98024a00 10/06/2009 12:01 PM Stig Bjørlykke

Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370

2547ce21 09/09/2009 10:01 AM Kovarththanan Rajaratnam

We no longer support the old plugin API so remove it completely from the build system

svn path=/trunk/; revision=29821

974849a9 08/31/2009 03:47 PM Kovarththanan Rajaratnam

Remove strcasecmp. We use g_ascii_strcasecmp exclusively

svn path=/trunk/; revision=29643

612f839c 08/31/2009 02:59 PM Kovarththanan Rajaratnam

Reorder (no functionality change)

svn path=/trunk/; revision=29640

dc958a44 08/31/2009 02:38 PM Kovarththanan Rajaratnam

Remove PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 which are unused

svn path=/trunk/; revision=29638

49969559 08/30/2009 02:30 PM Kovarththanan Rajaratnam

Remove superfluous config parameters

svn path=/trunk/; revision=29633

b4e821bf 08/30/2009 01:23 PM Kovarththanan Rajaratnam

Remove outdated comments regarding ZLIB_DLL. We don't have to define this before including zlib.h. This is automatically done if _WIN32 is defined

svn path=/trunk/; revision=29632

59a1af9c 08/30/2009 01:09 PM Kovarththanan Rajaratnam

Add a couple of comments to HAVE_DIRECT_H, HAVE_WINDOWS_H and HAVE_WINSOCK2_H

svn path=/trunk/; revision=29631

42c0ca3c 08/29/2009 04:19 AM Kovarththanan Rajaratnam

We require WinPcap > 3.0 so get rid of WPCAP_CONSTIFIED_CONFIG

svn path=/trunk/; revision=29616

72a20c16 07/02/2009 01:20 PM Gerald Combs

Pull mkstemp() into tempfile.c. That's the only place we use it now, and
it's arguably the only place we should use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.

(This still doesn't work on IE 8 / Vista here. IE gives an access denied...

ddad90c3 07/01/2009 04:23 AM Anders Broman

Make it possible to configure use of NEW_PACKET_LIST and fix
one compile error. It still fails in file.c trying to include gtk/gtk.h in new_packet_list.h

svn path=/trunk/; revision=28903

0a101aac 05/08/2009 03:53 PM Tomas Kukosa

Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDK

svn path=/trunk/; revision=28314

c30c410f 12/23/2008 01:56 PM Gerald Combs

Add GeoIP to the Windows build. Fix a remaining geoip_ -> geoip_db_
conversion.

svn path=/trunk/; revision=27098

5906f69b 08/11/2008 05:59 PM Gerald Combs

On Windows, if we're running anything but plain Visual C++ 6 (including
VC6 plus a platform SDK), set INET6. Use that to figure out if we need
to define socklen_t for c-ares. This should fix bug 2797.

svn path=/trunk/; revision=25985

021a9267 08/07/2008 05:41 PM Gerald Combs

Add support for the c-ares asynchronous DNS resolution library to the
Windows build. Add support for async IPv6 lookups. Update the ADNS
code slightly.

This is not supported (yet) on the UNIX side.

svn path=/trunk/; revision=25953

48c21706 06/24/2008 05:16 PM Gerald Combs

Add TurboCap-related changes from /trunk-1.0:

From Dustin Johnson: Add support for TurboCap.
- packet-ppi.c: Add aggregation and 802.3 extended information.
- capture-wpcap.c: Add support for pcap_list_datalinks and pcap_set_datalink.

Make pcap_list_datalinks and pcap_set_datalink mandatory on Windows....

79de16f8 04/25/2008 02:42 AM Anders Broman

Flex (v 2.5.35) uses this symbol to "exclude" unistd.h

svn path=/trunk/; revision=25170

947e70b4 12/07/2007 06:58 PM Guy Harris

Delete the right config.h.win32.

Copy the MSVC++-version-checking stuff from it into the top-level
config.h.win32, and try to set up config.nmake so that MSC_VER_REQUIRED
is defined in all Makefiles that include config.nmake.

svn path=/trunk/; revision=23802

8b87d048 12/07/2007 06:52 PM Guy Harris

Deleted the wrong config.h.win32.

svn path=/trunk/; revision=23801

034bdaeb 12/07/2007 06:52 PM Guy Harris

That's not the right way to resuscitate a file.

svn path=/trunk/; revision=23800

af15ea1c 12/07/2007 06:48 PM Guy Harris

Deleted the wrong config.h.win32.

svn path=/trunk/; revision=23799

8b14380c 12/07/2007 06:38 PM Guy Harris

Run runlex.sh from the tools directory. Get rid of the extra copy in
the top-level directory.

Don't build config.h in the wiretap directory - it now uses config.h
from the top-level directory. Get rid of the template config.h.win32 in
that directory.

Get rid of files that are no longer in the wiretap directory or are no...

08bbd29c 12/04/2007 06:19 AM Tomas Kukosa

Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
- retrieving the list of remote PCAP interfaces
- password authentication support
- UDP data fransfer
- packet sampling (available in WinPcap 4.x)
etc.

fix problem if non-default rpcap port is used...

99d60cce 11/30/2007 05:01 PM Ulf Lamping

first steps to support MSVC 2008 Express Edition

svn path=/trunk/; revision=23691

25b10145 09/24/2007 08:46 AM Tomas Kukosa

remove forgotten HAVE_NET_SNMP

svn path=/trunk/; revision=22937

e6f1cf93 09/06/2007 12:57 PM Guy Harris

Fix a comment.

svn path=/trunk/; revision=22810

ef997161 08/26/2007 04:03 PM Anders Broman

Use config and makefile from Chris Maynard and Luis instead.

svn path=/trunk/; revision=22672

bea90e8c 08/23/2007 08:06 PM Richard van der Hoff

In keeping with all the other path variables (eg, libdir), don't resolve
plugindir at configure time. Instead leave it to be defined at make
time, which means it can then be changed by, eg, changing $prefix. This
also means moving the definition of PLUGIN_DIR from config.h to a -D in...

cd5aae81 01/31/2007 12:26 AM Ulf Lamping

instead of putting the MSC_VER_REQUIRED test into the root Makefile (which would require to change ALL makefiles - the buildbot revealed it), simply put it in the wiretap generation. As wiretap is mandatory and one of the first things to be build this doesn't even sound like a bad idea anyway ......

5698c994 01/30/2007 09:23 PM Ulf Lamping

C preprocessor only handles integers for conditional compilation. Build MSC_VER_REQUIRED in config.nmake and compare it with _MSC_VER in config.h.win32

svn path=/trunk/; revision=20637

3aec86ad 01/29/2007 05:40 PM Ulf Lamping

fix compiler version detection logic, sorry for the noise!

svn path=/trunk/; revision=20614

5aff8def 01/29/2007 03:58 PM Anders Broman

Comment out Ulfs changes to be able to do a test build.

svn path=/trunk/; revision=20609

88af5759 01/28/2007 03:58 PM Ulf Lamping

add a check if the MSVC_VARIANT setting and the current _MSC_VER #define matches - to avoid problems if a developer forgets to set MSVC_VARIANT in config.nmake corresponding to his environment

svn path=/trunk/; revision=20591

09f508b5 01/25/2007 08:34 PM Bill Meier

A few more ethereal --> wireshark

svn path=/trunk/; revision=20559

e2686060 12/08/2006 10:05 AM Jörg Mayer

Get rid of UCD SNMP support (it's not longer supported and
superseeded by net-snmp). Replace some_snmp by net_snmp
where appropriate.

svn path=/trunk/; revision=20071

8e397a26 12/06/2006 03:29 PM Gerald Combs

Don't define HAVE_AIRPDCAP if HAVE_AIRPCAP isn't defined. Fix a compiler
warning in the 802.11 dissector.

svn path=/trunk/; revision=20053

5f9300b9 09/12/2006 02:43 PM Jörg Mayer

Makefile.nmake
config.h.win32
- Use HAVE_LIBPORTAUDIO instead of HAVE_PORTAUDIO to make
sure we use the same var everywhere (including sources
and autofoo stuff).
- Use PORTAUDIO_API_1 everywhere

version_info.c
- Include <portaudio.h>
- Add some , and breaks when printing version infos....

af15bf77 09/12/2006 01:34 PM Ulf Lamping

it's HAVE_LIBGNUTLS instead HAVE_GNUTLS

svn path=/trunk/; revision=19214

9fee393b 09/11/2006 06:47 PM Ulf Lamping

tweak the nmake build so the NET-SNMP library is in fact optional (as it is in the UNIX builds)

svn path=/trunk/; revision=19196

1129da54 09/05/2006 04:35 PM Anders Broman

Handle PORTAUDIO_API_1 and add clean-deps target to distclean.

svn path=/trunk/; revision=19159

7eac3c28 08/30/2006 05:51 PM Anders Broman

From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to
compile it is necessary to:
+ For windows: uncomment the line
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake...

f9661850 08/16/2006 02:01 PM Gerald Combs

Add support for AirPcap, an upcoming wireless product from CACE. Support
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG
in config.nmake. The code is currently limited to Windows, but should
be adaptable to other platforms.

The official announcement won't come until next week, so you'll have to...

5b4a4a7e 08/12/2006 05:06 PM Ulf Lamping

fix for bug #1025: It should be no longer necessary to use the I64x format string for Win32, simply use the llx format string as for the Unix variants, which should be safe as we only use GLib's g_snprintf() function instead of the MSVC one's from snprintf.h...

4f16b6b1 08/08/2006 10:00 PM Gerald Combs

Point to the newest (1.5.0-1) GnuTLS package. Since it contains
libgcrypt, enable it in the Windows build.

In packet-ipsec.c:

- Remove non-constants from variable declaration initializations.
- Use ep_alloc() in a couple of places.
- Fix an off-by-one error....
db179bb7 08/05/2006 12:32 AM Ronnie Sahlberg

config and makefile magic we need when we integrate kerberos for windows with the w32 build

disabled for now

svn path=/trunk/; revision=18838