ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] G_GUINT64_CONSTANT()

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 14 Apr 2009 09:47:54 -0700

On Apr 14, 2009, at 9:38 AM, Guy Harris wrote:

	#ifndef G_GUINT4_CONSTANT
	#define G_GUINT64_CONSTANT(c)	something that sticks a "U" immediately
after the constant and passes it to G_GINT64_CONSTANT()
	#endif

in some appropriate header file if there's a way to do that with the C
preprocessor.

	#ifndef G_GUINT64_CONSTANT
	#define G_GUINT64_CONSTANT(val)		G_GINT64_CONSTANT(val##U)
	#endif