aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compat/stdint.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/compat/stdint.h b/include/compat/stdint.h
new file mode 100644
index 0000000..2829151
--- /dev/null
+++ b/include/compat/stdint.h
@@ -0,0 +1,19 @@
1/*
2 * Public domain
3 * stdint.h compatibility shim
4 */
5
6#ifdef _MSC_VER
7#include <../include/stdint.h>
8#else
9#include_next <stdint.h>
10#endif
11
12#ifndef LIBCRYPTOCOMPAT_STDINT_H
13#define LIBCRYPTOCOMPAT_STDINT_H
14
15#ifndef SIZE_MAX
16#include <limits.h>
17#endif
18
19#endif