Changeset 147 in openpam for trunk/include/security/openpam.h


Ignore:
Timestamp:
May 24, 2002, 2:27:09 PM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

GCC 3 is upon us.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/openpam.h

    r129 r147  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/openpam.h#19 $
     34 * $P4: //depot/projects/openpam/include/security/openpam.h#20 $
    3535 */
    3636
     
    138138        ...);
    139139
    140 #if defined(__STDC__) && (__STDC_VERSION__ >= 199901L)
    141 #define openpam_log(lvl, fmt, ...) \
    142         _openpam_log((lvl), __func__, fmt, __VA_ARGS__)
     140#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
     141#define openpam_log(lvl, ...) \
     142        _openpam_log((lvl), __func__, __VA_ARGS__)
     143#elif defined(__GNUC__) && (__GNUC__ >= 3)
     144#define openpam_log(lvl, ...) \
     145        _openpam_log((lvl), __func__, __VA_ARGS__)
    143146#elif defined(__GNUC__) && (__GNUC__ >= 2) && (__GNUC_MINOR__ >= 95)
    144147#define openpam_log(lvl, fmt...) \
Note: See TracChangeset for help on using the changeset viewer.