Changeset c1a58cc


Ignore:
Timestamp:
2011-12-18T20:45:47Z (13 years ago)
Author:
Alex Miller <millerdevel@…>
Branches:
master
Children:
a0a3de6
Parents:
4efa5ce
Message:

Wrap the external API in extern "C" if included in a C++ file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.h

    r4efa5ce rc1a58cc  
    2626#ifndef _BITLBEE_H
    2727#define _BITLBEE_H
     28
     29#ifdef __cplusplus
     30extern "C" {
     31#endif
    2832
    2933#ifndef _GNU_SOURCE
     
    175179extern global_t global;
    176180
     181#ifdef __cplusplus
     182}
    177183#endif
     184
     185#endif
     186
Note: See TracChangeset for help on using the changeset viewer.