diff options
author | Gerald Combs <gerald@wireshark.org> | 2020-12-11 13:38:14 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2020-12-11 13:38:14 -0800 |
commit | 6e1142c33a98d2a880dfc80d5fae7d47145b40a6 (patch) | |
tree | f8c64383f49a65d213ab976bacd18728001ec468 /ui | |
parent | 69117ba88faee52180864af931537add1771a66b (diff) |
Win32: Add an include guard.
Add "#ifdef _WIN32" to file_dlg_win32.c so that it's ignored by
tools/validate-clang-check.sh.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/win32/file_dlg_win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c index 44f9fa90c2..62cdd93f83 100644 --- a/ui/win32/file_dlg_win32.c +++ b/ui/win32/file_dlg_win32.c @@ -8,6 +8,8 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#ifdef _WIN32 + #include "config.h" #include <tchar.h> @@ -1796,6 +1798,8 @@ export_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { return 0; } +#endif // _WIN32 + /* * Editor modelines * |