00001 00002 /*************************************************************************** 00003 Copyright (C) 2007 by Carlos Pascual-Izarra 00004 carlos.pascual_AT_users.sourceforge.net * 00005 00006 This program is free software: you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation, either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 This program 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 General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 00019 ***************************************************************************/ 00020 00034 /*Uncomment the following line if the strcasecmp() function 00035 is not available (e.g. when linking with the DEC fortran linker under Win ) 00036 WARNING: This will change the behaviour from Non-case sensitiviness 00037 to case-sensitiviness in various comparisons. 00038 */ 00039 // #define STRNCASECMPNOTAVAIL 00040 00041 #ifdef STRNCASECMPNOTAVAIL 00042 #define strcasecmp strcmp 00043 #define strncasecmp strncmp 00044 #endif 00045 00046 /*Uncomment the following line if you get an "unresolved external" when linking to the 00047 snprintf function (e.g. it hapens in WIN32 systems)*/ 00048 //#define SNPRINTFNOTAVAIL 00049 00050 #ifdef SNPRINTFNOTAVAIL 00051 #define snprintf _snprintf 00052 #endif 00053 00054 /*Uncomment following line if having trouble with sqrtf, pow, expf logf 00055 (e.g., it happens when linking with DEC Fortran compiler)*/ 00056 //#define MATHFNOTAVAIL 00057 00058 #ifdef MATHFNOTAVAIL 00059 #define sqrtf sqrt 00060 #define powf pow 00061 #define expf exp 00062 #define logf log 00063 #endif 00064 00065 /* VERBOSITY LEVEL of CPIXE and LibCPIXE. For efficiency, compile it with CPIXEVERBOSITY=0: 00066 0 = Silent (Use for maximum efficiency when you are interested in using LibCPIXE as a library with another program) 00067 1 = Standard (Use for debugging LibCPIXE or for compiling CPIXE ) 00068 2 = Extra verbose (Use only in developement situations) 00069 */ 00070 #define CPIXEVERBOSITY 1 00071