diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-30 09:49:23 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-30 09:49:23 -0700 |
commit | 60ccbcf9cca65edac59bf374cc4af13eda91c791 (patch) | |
tree | 5c51d07656d0120d08d0effcc310bb58ed4c6997 /libs/pbd/test | |
parent | 2f167e6163bdf599fd66fd642ab7159405ef8f81 (diff) |
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
Diffstat (limited to 'libs/pbd/test')
-rw-r--r-- | libs/pbd/test/timer_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/pbd/test/timer_test.cc b/libs/pbd/test/timer_test.cc index 7c78b9c3c0..43001d824e 100644 --- a/libs/pbd/test/timer_test.cc +++ b/libs/pbd/test/timer_test.cc @@ -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; |