~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-1.0/structs.h

  • Committer: Brian Aker
  • Date: 2011-12-28 21:59:11 UTC
  • mto: This revision was merged to the branch mainline in revision 2482.
  • Revision ID: brian@tangent.org-20111228215911-q3fzfsvtgt5vtp7e
Fix race condition in bison build, also fix NULL issue on FreeBSD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
#include <sys/types.h>
46
46
 
47
 
#ifndef NI_MAXHOST
48
 
# define NI_MAXHOST 1025
 
47
#ifdef NI_MAXHOST
 
48
# define LIBDRIZZLE_NI_MAXHOST NI_MAXHOST
 
49
#else
 
50
# define LIBDRIZZLE_NI_MAXHOST 1025
49
51
#endif
50
52
 
51
53
#ifdef __cplusplus