Commit 3ed75f50 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

OpenBSD is not defined (unless sys/param.h is included) so simply use the gcc

builtin define for it.

From:	"Federico G. Schwindt" <fgsch@lodoss.net>
parent 5582b35b
......@@ -247,7 +247,7 @@ mgt_SHM_Create(void)
exit (-1);
}
#ifdef OpenBSD
#ifdef __OpenBSD__
/* Commit changes, for OS's without coherent VM/buf */
AZ(msync(p, getpagesize(), MS_SYNC));
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment