/home/coin/Bcp-1.0.0/Bcp/src/include/BCP_os.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2000, International Business Machines
00002 // Corporation and others.  All Rights Reserved.
00003 #ifndef _BCP_OS_H
00004 #define _BCP_OS_H
00005 
00006 //------------------------------------------------------------------------------
00007 #if HAVE_SYS_RESOURCE_H
00008 #  include <sys/resource.h>
00009 #else
00010 #  define setpriority(x,y,z)
00011 #endif
00012 //------------------------------------------------------------------------------
00013 #if HAVE_UNISTD_H
00014 #  include <unistd.h>
00015 #endif
00016 #ifndef HAVE_GETHOSTNAME
00017 #  define gethostname(x,y)
00018 #endif
00019 #if HAVE_GETPID
00020 #  define GETPID (getpid())
00021 #else
00022 #  define GETPID (0)
00023 #endif
00024 //------------------------------------------------------------------------------
00025 
00026 #endif

Generated on Wed Aug 22 03:00:54 2007 for coin-Bcp by  doxygen 1.4.7