use a local version (copy) of the G_SOURCE_FUNC macro, since it is not available in the GTK+ version we use for the official build stack

This commit is contained in:
Paul Davis 2019-12-30 09:49:23 -07:00
parent 2f167e6163
commit 60ccbcf9cc
3 changed files with 15 additions and 2 deletions

View file

@ -10,6 +10,10 @@
#include <windows.h>
#endif
#ifndef G_SOURCE_FUNC
#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
#endif
CPPUNIT_TEST_SUITE_REGISTRATION (TimerTest);
using namespace std;