diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-02-07 13:22:13 -0800 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2018-02-07 22:12:32 +0000 |
commit | 62fc862bc60f2a044dcae2191aca7f6bd54f3afc (patch) | |
tree | 98d5b18393743b116aca14b87342e3e400a75fd7 /ui | |
parent | 32923b94a140ecbe39a419e71d828c5a1cf9bc48 (diff) |
Squelch an rc warning.
Don't include glib if RC_INVOKED is defined so that the Microsoft Windows
Resource Compiler doesn't generate the following complaint:
\path\to\glib/gatomic.h(87): warning RC4011: identifier truncated to '__GCC_HAVE_SYNC_COMPARE_AND_SWA'
Change-Id: I6637aee2842de4e7041b66ff4428f617478efcb4
Reviewed-on: https://code.wireshark.org/review/25670
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/win32/file_dlg_win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/win32/file_dlg_win32.h b/ui/win32/file_dlg_win32.h index 57a726e97e..57381e6677 100644 --- a/ui/win32/file_dlg_win32.h +++ b/ui/win32/file_dlg_win32.h @@ -11,8 +11,10 @@ #ifndef __FILE_DLG_WIN32_H__ #define __FILE_DLG_WIN32_H__ +#ifndef RC_INVOKED // RC warns about gatomic's long identifiers. #include "ui/file_dialog.h" #include "ui/packet_range.h" +#endif #ifdef __cplusplus extern "C" { |