mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 11:45:11 +08:00
Fix multiple definitions of ts_mock_timer
This commit is contained in:
parent
30dbda9fbb
commit
fd07772daf
@ -3,8 +3,8 @@
|
||||
* Please see the included NOTICE for copyright information and
|
||||
* LICENSE-APACHE for a copy of the license.
|
||||
*/
|
||||
#ifndef TIME_MOCK_H
|
||||
#define TIME_MOCK_H
|
||||
#ifndef TIMESCALEDB_BGW_TIMER_MOCK_H
|
||||
#define TIMESCALEDB_BGW_TIMER_MOCK_H
|
||||
|
||||
#include <postgres.h>
|
||||
#include <postmaster/bgworker.h>
|
||||
@ -13,6 +13,6 @@
|
||||
|
||||
extern void ts_timer_mock_register_bgw_handle(BackgroundWorkerHandle *handle);
|
||||
|
||||
const Timer ts_mock_timer;
|
||||
extern const Timer ts_mock_timer;
|
||||
|
||||
#endif /* tTIME_MOCK_H */
|
||||
#endif /* TIMESCALEDB_BGW_TIMER_MOCK_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user