ports/databases/galera/patches/patch-galerautils_src_gu_system_h

13 lines
453 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: galerautils/src/gu_system.h
--- galerautils/src/gu_system.h.orig
+++ galerautils/src/gu_system.h
@@ -23,7 +23,7 @@ extern "C" {
#if defined(__sun__)
# define GU_SYS_PROGRAM_NAME getexecname ()
-#elif defined(__APPLE__) || defined(__FreeBSD__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
# define GU_SYS_PROGRAM_NAME getprogname ()
#elif defined(__linux__)
# define GU_SYS_PROGRAM_NAME program_invocation_name