Automatic C++ detection by using macro __cplusplus

This commit is contained in:
Thomas Schmitt 2010-09-11 19:18:42 +02:00
parent d5c4af7378
commit a2758b27e6

View File

@ -734,7 +734,9 @@ struct IsoFileSource_Iface
*/
};
#ifndef __cplusplus
#ifndef Libisofs_h_as_cpluspluS
/**
* An IsoFile Source is a POSIX abstraction of a file.
*
@ -746,7 +748,9 @@ struct iso_file_source
int refcount;
void *data;
};
#endif /* ! Libisofs_h_as_cpluspluS */
#endif /* ! __cplusplus */
/**
* Representation of file contents. It is an stream of bytes, functionally
@ -957,7 +961,9 @@ struct IsoStream_Iface
};
#ifndef __cplusplus
#ifndef Libisofs_h_as_cpluspluS
/**
* Representation of file contents as a stream of bytes.
*
@ -969,7 +975,9 @@ struct iso_stream
int refcount;
void *data;
};
#endif /* ! Libisofs_h_as_cpluspluS */
#endif /* ! __cplusplus */
/**