[omniORB] [PATCH] omniorb/thread: use proper autoconf macros for header inclusion
Duncan Grisby
duncan at grisby.org
Fri Sep 16 23:48:45 BST 2016
On Thu, 2016-07-21 at 00:06 +0200, Thomas Petazzoni via omniORB-list
wrote:
[...]
> It turns out that the configure.ac already checks for the availability
> of <unistd.h> and <sys/time.h>. So all what this patch does is use the
> C defines generated by the configure script to decide whether
> <unistd.h> and <sys/time.h> can be included or not.
The build still supports some platforms that don't use autoconf, so it's
not quite a simple as just using the autoconf defines, but I've checked
in a change that uses the autoconf defines if they're there, but still
works if autoconf is not in use.
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list