38febc9b19
OK jasper@
18 lines
540 B
Plaintext
18 lines
540 B
Plaintext
$OpenBSD: patch-include_log_h,v 1.2 2012/09/21 17:16:14 dcoppa Exp $
|
|
|
|
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
|
|
|
|
--- include/log.h.orig Wed Sep 19 18:08:09 2012
|
|
+++ include/log.h Thu Sep 20 14:12:10 2012
|
|
@@ -28,8 +28,10 @@
|
|
#define DLOG(fmt, ...) debuglog("%s:%s:%d - " fmt, I3__FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__)
|
|
|
|
extern char *errorfilename;
|
|
+#if !defined(__OpenBSD__)
|
|
extern char *shmlogname;
|
|
extern int shmlog_size;
|
|
+#endif
|
|
|
|
/**
|
|
* Initializes logging by creating an error logfile in /tmp (or
|