Add C++ extern C include guards
This commit is contained in:
parent
7a5f30bfcd
commit
81df4e8a05
|
@ -8,6 +8,10 @@
|
||||||
#ifndef HEADER_libiso8601
|
#ifndef HEADER_libiso8601
|
||||||
#define HEADER_libiso8601
|
#define HEADER_libiso8601
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* standard includes, or includes needed for type declarations */
|
/* standard includes, or includes needed for type declarations */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
* http://www.gnu.org/copyleft/gpl.html for details.
|
* http://www.gnu.org/copyleft/gpl.html for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* options for text editors
|
/* options for text editors
|
||||||
|
|
Loading…
Reference in New Issue