atomic windows
This commit is contained in:
parent
d0b6fc2ba6
commit
68e2e4df74
|
@ -20,8 +20,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "tdef.h"
|
||||
|
||||
// If the error is in a third-party library, place this header file under the third-party library header file.
|
||||
// When you want to use this feature, you should find or add the same function in the following section.
|
||||
#ifndef ALLOW_FORBID_FUNC
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
#include "taos_log.h"
|
||||
#include "taos_metric_sample_i.h"
|
||||
#include "taos_metric_sample_t.h"
|
||||
|
||||
#define ALLOW_FORBID_FUNC
|
||||
|
||||
#include "tdef.h"
|
||||
#include "osAtomic.h"
|
||||
|
||||
taos_metric_sample_t *taos_metric_sample_new(taos_metric_type_t type, const char *l_value, double r_value) {
|
||||
|
|
Loading…
Reference in New Issue