From 7e362c72508b4ac49bd2253f1ed510db8bc8a112 Mon Sep 17 00:00:00 2001 From: rocky Date: Wed, 10 Sep 2003 08:31:19 +0000 Subject: [PATCH] Allow C++ to call. --- include/cdio/iso9660.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/cdio/iso9660.h b/include/cdio/iso9660.h index 28b1bf9a..4a140237 100644 --- a/include/cdio/iso9660.h +++ b/include/cdio/iso9660.h @@ -1,5 +1,5 @@ /* - $Id: iso9660.h,v 1.19 2003/09/07 18:15:26 rocky Exp $ + $Id: iso9660.h,v 1.20 2003/09/10 08:31:19 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel Copyright (C) 2003 Rocky Bernstein @@ -80,6 +80,10 @@ #define ISO_STANDARD_ID "CD001" #define ISO_BLOCKSIZE 2048 +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + enum strncpy_pad_check { ISO9660_NOCHECK = 0, ISO9660_7BIT, @@ -362,6 +366,10 @@ iso9660_set_pvd (void *pd, const char volume_id[], const char application_id[], void iso9660_set_evd (void *pd); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __CDIO_ISO9660_H__ */ /*