47 lines
790 B
C
47 lines
790 B
C
#pragma once
|
|
|
|
#cmakedefine DV_HAVE_UNISTD_H 1
|
|
#cmakedefine DV_HAVE_INTTYPES_H 1
|
|
#cmakedefine DV_HAVE_LIMITS_H 1
|
|
|
|
#cmakedefine DV_SYS_LINUX 1
|
|
#cmakedefine DV_SYS_WINDOWS 1
|
|
#cmakedefine DV_SYS_MACOS 1
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
#include <errno.h>
|
|
#include <math.h>
|
|
|
|
#ifdef DV_HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
#ifdef DV_HAVE_INTTYPES_H
|
|
#include <inttypes.h>
|
|
#endif
|
|
|
|
#ifdef DV_HAVE_LIMITS_H
|
|
#include <limits.h>
|
|
#endif
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <list>
|
|
#include <set>
|
|
#include <map>
|
|
#include <unordered_map>
|
|
#include <functional>
|
|
#include <algorithm>
|
|
|
|
#ifdef DV_SYS_WINDOWS
|
|
#define snprintf _snprintf
|
|
typedef signed __int64 ssize_t;
|
|
#endif
|
|
|
|
typedef float float32_t;
|
|
typedef double float64_t;
|