~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to connect/ncbi_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef CONNECT___NCBI_CONFIG__H
2
2
#define CONNECT___NCBI_CONFIG__H
3
3
 
4
 
/*  $Id: ncbi_config.h,v 6.10 2005/07/02 18:14:25 lavr Exp $
 
4
/*  $Id: ncbi_config.h,v 6.13 2006/03/07 17:23:22 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
43
43
 
44
44
#if defined(OS_UNIX)
45
45
#  define NCBI_OS_UNIX 1
 
46
#  define HAVE_GETPWUID 1
46
47
#  if defined(OS_UNIX_LINUX)
47
48
#    define NCBI_OS_LINUX 1
48
49
#    ifdef PROC_X86_64
50
51
#    else
51
52
#      define NCBI_PLATFORM_BITS 32
52
53
#    endif
 
54
#    define HAVE_STRDUP 1
 
55
#    define HAVE_STRNDUP 1
 
56
#    define HAVE_STRCASECMP 1
 
57
#    define HAVE_GETPAGESIZE 1
 
58
#    if !defined(HAVE_GETHOSTBYNAME_R)
 
59
#      define HAVE_GETHOSTBYNAME_R 6
 
60
#      define HAVE_GETHOSTBYADDR_R 8
 
61
#    endif
 
62
#    if !defined(HAVE_GETPWUID_R)
 
63
#      define HAVE_GETPWUID_R      5
 
64
#    endif
53
65
#  elif defined(OS_UNIX_IRIX)
54
66
#    define NCBI_OS_IRIX 1
 
67
#    if !defined(HAVE_GETPWUID_R)
 
68
#      define HAVE_GETPWUID_R      5
 
69
#    endif
55
70
#  elif defined(OS_UNIX_SOL)
56
71
#    define NCBI_OS_SOLARIS 1
 
72
#    define HAVE_GETPAGESIZE 1
 
73
#    if !defined(HAVE_GETHOSTBYNAME_R)
 
74
#      define HAVE_GETHOSTBYNAME_R 5
 
75
#      define HAVE_GETHOSTBYADDR_R 7
 
76
#    endif
57
77
#  elif defined(OS_UNIX_BEOS)
58
78
#    define NCBI_OS_BEOS 1
59
79
#  elif defined(OS_UNIX_DARWIN)
60
80
#    define NCBI_OS_DARWIN 1
 
81
#    define HAVE_GETPAGESIZE 1
61
82
#    ifdef COMP_METRO
62
83
#      define NCBI_COMPILER_METROWERKS 1
63
84
#      if _MSL_USING_MW_C_HEADERS
65
86
#      endif
66
87
#    endif
67
88
#  endif
68
 
#  if !defined(HAVE_GETHOSTBYNAME_R)
69
 
#    if   defined(OS_UNIX_SOL)
70
 
#      define HAVE_GETHOSTBYNAME_R 5
71
 
#      define HAVE_GETHOSTBYADDR_R 7
72
 
#    elif defined(OS_UNIX_LINUX)
73
 
#      define HAVE_GETHOSTBYNAME_R 6
74
 
#      define HAVE_GETHOSTBYADDR_R 8
75
 
#    endif
76
 
#  endif
77
89
#elif defined(OS_MSWIN)
78
90
#  define NCBI_OS_MSWIN 1
79
91
#  ifdef COMP_METRO