#ifndef UCX_COMMON_H
#define UCX_COMMON_H
#define UCX_VERSION_MAJOR 3
#define UCX_VERSION_MINOR 1
#define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#ifndef UCX_TEST_H
typedef size_t (*cx_write_func)(
const void *,
size_t,
size_t,
void *
);
#endif
typedef size_t (*cx_read_func)(
void *,
size_t,
size_t,
void *
);
#ifndef __GNUC__
#define __attribute__(x)
#endif
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#define _Thread_local __declspec(thread)
#endif
#endif