init commit

This commit is contained in:
2025-06-11 22:45:11 +08:00
commit 71307f3e53
115 changed files with 13922 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
#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;