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