[sr-dev] Compiling db_mysql on Solaris

Henning Westerholt henning.westerholt at 1und1.de
Fri Jul 15 16:54:54 CEST 2011


On Thursday 14 July 2011, Jason Penton wrote:
> ok, removing the following macro from my_cmd.c fixes the issue:
> 
> define _XOPEN_SOURCE 4      /* BSD */
> 
> im not familiar with this macro though
> 
> anyone?

Hi Jason,

ah, good catch. It seems that this declaration is necessary for the strptime 
function in time.h, at least on some systems. Maybe we can include this in a 
#ifndef that evaluates on the solaris plattform?

Best regards,

Henning



More information about the sr-dev mailing list