Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/cad/abc/files/patch-src_misc_util_abc__global.h
18157 views
1
--- src/misc/util/abc_global.h.orig 2018-04-10 14:33:45 UTC
2
+++ src/misc/util/abc_global.h
3
@@ -97,6 +97,15 @@ ABC_NAMESPACE_HEADER_START
4
////////////////////////////////////////////////////////////////////////
5
6
#ifdef ABC_USE_STDINT_H
7
+
8
+#ifndef __STDC_LIMIT_MACROS
9
+ #define __STDC_LIMIT_MACROS
10
+#endif
11
+
12
+#ifndef __STDC_CONSTANT_MACROS
13
+ #define __STDC_CONSTANT_MACROS
14
+#endif
15
+
16
// If there is stdint.h, assume this is a reasonably-modern platform that
17
// would also have stddef.h and limits.h
18
#include <limits.h>
19
20