00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef AlpsLinux_h
00024 #define AlpsLinux_h
00025
00026
00027
00028
00029
00030 typedef int AlpsIndexType;
00031
00032 #if defined(__GNUC__)
00033
00034 # include <sys/time.h>
00035 # include <sys/resource.h>
00036 # ifndef __USE_BSD
00037 # define __USE_BSD // to get gethostname() from unistd.h
00038 # include <unistd.h>
00039 # undef __USE_BSD
00040 # else
00041 # include <unistd.h>
00042 # endif
00043 # define AlpsPtrDiff int
00044
00045 # if (__GNUC__ >= 3)
00046
00047 # define NEED_TEMPLATE_CLASSES
00048 # define NEED_TEMPLATE_FUNCTIONS
00049
00050
00051
00052 # define ALPS_CONSTRUCT std::_Construct
00053 # define ALPS_DESTROY std::_Destroy
00054 # define ALPS_DESTROY_RANGE std::_Destroy
00055
00056 # else
00057
00058 # define NEED_TEMPLATE_CLASSES
00059 # define NEED_TEMPLATE_FUNCTIONS
00060
00061
00062
00063 # define ALPS_CONSTRUCT std::construct
00064 # define ALPS_DESTROY std::destroy
00065 # define ALPS_DESTROY_RANGE std::destroy
00066
00067 # endif
00068
00069 #endif
00070
00071 #endif