arch.h

Go to the documentation of this file.
00001 /* -*-C-*- 
00002 
00003 // Copyright (C) 2004 
00004 // Christian Stimming <stimming@tuhh.de>
00005 
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public License as
00008 // published by the Free Software Foundation; either version 2, or (at
00009 // your option) any later version.
00010 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // GNU Lesser General Public License for more details.
00015 
00016 // You should have received a copy of the GNU Lesser General Public License along
00017 // with this library; see the file COPYING.  If not, write to the Free
00018 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
00019 // USA.
00020 
00021 //      LAPACK++ (V. 1.1)
00022 //      (C) 1992-1996 All Rights Reserved.
00023 */
00024 
00025 
00026 /*  Linkage names between C, C++, and Fortran (platform dependent) */
00027 
00032 #ifndef _ARCH_H_
00033 #define _ARCH_H_
00034 
00035 
00036 #if  defined(RIOS) && !defined(CLAPACK)
00037 # define F77NAME(x) x
00038 #else
00039 # define F77NAME(x) x##_
00040 #endif
00041 
00042 #if defined(SGI) && !defined(SGI_DEC)
00043 # define SGI_DEC
00044 # ifdef __cplusplus
00045 extern "C" {
00046 # endif
00047         void mkidxname() {}
00048         void mkdatname() {}
00049 # ifdef __cplusplus
00050 }
00051 # endif
00052 #endif
00053 
00054 /* Needed for windows DLLs */
00055 #ifndef DLLIMPORT
00056 #  if defined( __declspec ) | defined ( _MSC_VER )
00057 /*     _MSC_VER checks for Microsoft Visual C++. */
00058 /*      Microsoft Visual C++ 7.1  _MSC_VER = 1310 */
00059 /*      Microsoft Visual C++ 7.0  _MSC_VER = 1300 */
00060 /*      Microsoft Visual C++ 6.0  _MSC_VER = 1200 */
00061 /*      Microsoft Visual C++ 5.0  _MSC_VER = 1100 */
00062 #    if BUILDING_LAPACK_DLL
00063 #      define DLLIMPORT __declspec (dllexport)
00064 #    else     /* Not BUILDING_LAPACK_DLL */
00065 #      define DLLIMPORT __declspec (dllimport)
00066 #    endif    /* Not BUILDING_LAPACK_DLL */
00067 #  else
00068 #    define DLLIMPORT
00069 #  endif    /* __declspec */
00070 #endif  /* DLLIMPORT */
00071 
00072 #endif /* _ARCH_H_ */

Generated on Sat Jul 14 11:40:36 2007 for Lapack++ by  doxygen 1.5.0