Wireshark-dev: Re: [Wireshark-dev] g_get_monotonic_time() needs glib 2.28
From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Wed, 3 May 2017 19:41:34 +0200


Den 3 maj 2017 18:49 skrev "Martin Mathieson" <martin.r.mathieson@xxxxxxxxxxxxxx>:
In the top-level CMakeLists.txt, we currently set GLIB2_MIN_VERSION to 2.22.0.

g_get_monotonic_time() is used in ui/gtk/rtp_player.c and wireshark-qt.cpp.

Should we:
- increase move GLIB2_MIN_VERSION on?
- rework the calls to this function ?
- add something to wsutil/glib-compat.c/h ?

Regards,
Martin

I took a look at adding it to glib-compat.c a while ago and it is pretty straight forward. If I remember correctly, if we cheat on Windows and call it directly as we have the required version there.
Regards 
Anders

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe