Add C++ extern C include guards

This commit is contained in:
Laurence Withers 2011-11-15 16:49:22 +00:00
parent 7a5f30bfcd
commit 81df4e8a05
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,10 @@
#ifndef HEADER_libiso8601
#define HEADER_libiso8601
#ifdef __cplusplus
extern "C" {
#endif
/* standard includes, or includes needed for type declarations */
#include <time.h>
#include <stdint.h>

View File

@ -5,6 +5,10 @@
* http://www.gnu.org/copyleft/gpl.html for details.
*/
#ifdef __cplusplus
}
#endif
#endif
/* options for text editors