Changeset 350


Ignore:
Timestamp:
Jun 11, 2007 8:45:47 PM (13 years ago)
Author:
andreasw
Message:

allow the use of f2c name mangling when COIN_USE_F2C is defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/headers/configall_system_msc.h

    r298 r350  
    1616/* #undef F77_DUMMY_MAIN */
    1717
     18#ifndef COIN_USE_F2C
    1819/* Define to a macro mangling the given C identifier (in lower and upper
    1920   case), which must not contain underscores, for linking with Fortran. */
    20 #define F77_FUNC(name,NAME) NAME
     21# define F77_FUNC(name,NAME) NAME
    2122
    2223/* As F77_FUNC, but for C identifiers containing underscores. */
    23 #define F77_FUNC_(name,NAME) NAME
     24# define F77_FUNC_(name,NAME) NAME
     25#else
     26/* Define to a macro mangling the given C identifier (in lower and upper
     27   case), which must not contain underscores, for linking with Fortran. */
     28# define F77_FUNC(name,NAME) name ## _
     29
     30/* As F77_FUNC, but for C identifiers containing underscores. */
     31# define F77_FUNC_(name,NAME) name ## __
     32#endif
    2433
    2534/* Define if F77 and FC dummy `main' functions are identical. */
Note: See TracChangeset for help on using the changeset viewer.