31 lines
437 B
C++
31 lines
437 B
C++
#pragma once
|
|
|
|
#if defined(_WIN32) || defined(_WIN64)
|
|
#ifdef DYZEXPORT
|
|
#define POOLAPI __declspec(dllexport)
|
|
#else
|
|
#define POOLAPI __declspec(dllimport)
|
|
#endif
|
|
#else
|
|
#define POOLAPI __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
|
|
#if defined(_WIN32) || defined(_WIN64)
|
|
|
|
#else
|
|
#include "sys/types.h"
|
|
#include "unistd.h"
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined(_WIN32) || defined(_WIN64)
|
|
|
|
|
|
#else
|
|
using pid_t = pid_t;
|
|
|
|
#endif
|