Files
ports/sysutils/bareos24-server/files/patch-core-src-include_baconfig.h
T
Jose Alonso Cardenas Marquez 43930fac64 sysutils/bareos24-*: Remove BROKEN
- server: Define ONLY_FOR_ARCHS to aarch64 and amd64
- Remove CONFLICTS to bareos22*
- Bump PORTREVISION
2026-02-02 22:35:50 -08:00

19 lines
470 B
C

--- core/src/include/baconfig.h 2026-02-02 17:47:37.319878000 -0800
+++ core/src/include/baconfig.h 2026-02-02 17:47:52.554519000 -0800
@@ -560,4 +560,15 @@
# define Leave(lvl)
#endif
+#if defined(HAVE_WIN32)
+// mingw/windows does not understand "%zu/%zi" by default
+# define PRIuz PRIu64
+# define PRIiz PRIi64
+# define PRItime "lld"
+#else
+# define PRIuz "zu"
+# define PRIiz "zi"
+# define PRItime "ld"
+#endif
+
#endif // BAREOS_INCLUDE_BACONFIG_H_