|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/connect/ncbi_config.h |
source navigation diff markup identifier search freetext search file search |
1 #ifndef CONNECT___NCBI_CONFIG__H 2 #define CONNECT___NCBI_CONFIG__H 3 4 /* $Id: ncbi_config.h,v 6.15 2008/10/16 19:12:55 lavr Exp $ 5 * =========================================================================== 6 * 7 * PUBLIC DOMAIN NOTICE 8 * National Center for Biotechnology Information 9 * 10 * This software/database is a "United States Government Work" under the 11 * terms of the United States Copyright Act. It was written as part of 12 * the author's official duties as a United States Government employee and 13 * thus cannot be copyrighted. This software/database is freely available 14 * to the public for use. The National Library of Medicine and the U.S. 15 * Government have not placed any restriction on its use or reproduction. 16 * 17 * Although all reasonable efforts have been taken to ensure the accuracy 18 * and reliability of the software and data, the NLM and the U.S. 19 * Government do not and cannot warrant the performance or results that 20 * may be obtained by using this software or data. The NLM and the U.S. 21 * Government disclaim all warranties, express or implied, including 22 * warranties of performance, merchantability or fitness for any particular 23 * purpose. 24 * 25 * Please cite the author in any work or product based on this material. 26 * 27 * =========================================================================== 28 * 29 * Author: Denis Vakatov 30 * 31 * File Description: 32 * Configuration wrapper CONNECT library in NCBI C Toolkit 33 * 34 */ 35 36 /* Real configuration 37 */ 38 #include <ncbilcl.h> 39 40 #ifdef NCBI_COMPILER_MW_MSL 41 # undef NCBI_COMPILER_MW_MSL 42 #endif 43 44 #if defined(OS_UNIX) 45 # define NCBI_OS_UNIX 1 46 # define HAVE_GETPWUID 1 47 # if defined(OS_UNIX_LINUX) 48 # define NCBI_OS_LINUX 1 49 # ifdef PROC_X86_64 50 # define NCBI_PLATFORM_BITS 64 51 # else 52 # define NCBI_PLATFORM_BITS 32 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(NCBI_HAVE_GETPWUID_R) 63 # define NCBI_HAVE_GETPWUID_R 5 64 # endif 65 # elif defined(OS_UNIX_IRIX) 66 # define NCBI_OS_IRIX 1 67 # if !defined(NCBI_HAVE_GETPWUID_R) 68 # define NCBI_HAVE_GETPWUID_R 5 69 # endif 70 # elif defined(OS_UNIX_SOL) 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 77 # elif defined(OS_UNIX_BEOS) 78 # define NCBI_OS_BEOS 1 79 # elif defined(OS_UNIX_DARWIN) 80 # define NCBI_OS_DARWIN 1 81 # define HAVE_GETPAGESIZE 1 82 # ifdef COMP_METRO 83 # define NCBI_COMPILER_METROWERKS 1 84 # if _MSL_USING_MW_C_HEADERS 85 # define NCBI_COMPILER_MW_MSL 86 # endif 87 # endif 88 # endif 89 #elif defined(OS_MSWIN) 90 # define NCBI_OS_MSWIN 1 91 # ifdef COMP_METRO 92 # define NCBI_COMPILER_METROWERKS 1 93 # endif 94 #elif defined(OS_MAC) 95 # define NCBI_OS_MAC 1 96 #endif 97 98 #endif /* CONNECT___NCBI_CONFIG__H */ 99
|
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |