We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9198f41 commit 4c65b30Copy full SHA for 4c65b30
code/logic/fossil/pizza/common.h
@@ -15,8 +15,20 @@
15
#ifndef FOSSIL_TEST_COMMON_H
16
#define FOSSIL_TEST_COMMON_H
17
18
+#define _LIBCPP_HARDENING_MODE debug
19
+
20
+/* ---------- Configuration / visibility ---------- */
21
+#if defined(_WIN32) && defined(FOSSIL_PIZZA_BUILD_DLL)
22
+# define FOSSIL_PIZZA_API __declspec(dllexport)
23
+#elif defined(_WIN32) && defined(FOSSIL_PIZZA_USE_DLL)
24
+# define FOSSIL_PIZZA_API __declspec(dllimport)
25
+#else
26
+# define FOSSIL_PIZZA_API
27
+#endif
28
29
#ifdef __cplusplus
30
// C++ headers
31
+#include <cstring>
32
#include <unistd.h> // POSIX, same in C and C++
33
#include <cfloat>
34
#include <cstdio>
0 commit comments