back out previous patch, replace with

* configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN.
	* configure: Regenerate.
	* config.in: Regenerate.
	* hw_sem.c: #include "config.h".
	(HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.
This commit is contained in:
Doug Evans
2009-09-15 23:26:44 +00:00
parent 6ae841305c
commit bf0275b1b5
6 changed files with 15 additions and 16 deletions

View File

@ -100,7 +100,7 @@ typedef struct _hw_sem_device {
int count;
} hw_sem_device;
#if !HAS_UNION_SEMUN
#ifndef HAVE_UNION_SEMUN
union semun {
int val;
struct semid_ds *buf;