#define _typ_ssize_t 1 /* ssize_t is a type */
/* */
-/* extern symbols must be protected against C++ name mangling */
-#ifndef _BEGIN_EXTERNS_
-# if defined(__cplusplus) || defined(c_plusplus)
-# define _BEGIN_EXTERNS_ extern "C" {
-# define _END_EXTERNS_ }
-# else
-# define _BEGIN_EXTERNS_
-# define _END_EXTERNS_
-# endif
-#endif /*_BEGIN_EXTERNS_*/
-
/* dynamic linked library external scope handling */
#undef extern
#if defined(_dll_import) && !defined(__EXPORT__) && _DLL_BLD
}end
cat{
-
- /* extern symbols must be protected against C++ name mangling */
- #ifndef _BEGIN_EXTERNS_
- #if __cplusplus || c_plusplus
- #define _BEGIN_EXTERNS_ extern "C" {
- #define _END_EXTERNS_ }
- #else
- #define _BEGIN_EXTERNS_
- #define _END_EXTERNS_
- #endif
- #endif /*_BEGIN_EXTERNS_*/
-
/* dynamic linked library external scope handling */
#undef extern
#if _dll_import && !defined(__EXPORT__) && _DLL_BLD
}end
cat{
-
- /* extern symbols must be protected against C++ name mangling */
- #ifndef _BEGIN_EXTERNS_
- #if __cplusplus || c_plusplus
- #define _BEGIN_EXTERNS_ extern "C" {
- #define _END_EXTERNS_ }
- #else
- #define _BEGIN_EXTERNS_
- #define _END_EXTERNS_
- #endif
- #endif /*_BEGIN_EXTERNS_*/
-
/* dynamic linked library external scope handling */
#undef extern
#if _dll_import && !defined(__EXPORT__) && _DLL_BLD
#endif
#if _lib_getpagesize
-_BEGIN_EXTERNS_ extern int getpagesize(void);
-_END_EXTERNS_
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern int getpagesize(void);
+#ifdef __cplusplus
+}
+#endif
#endif
/* Set a (new) buffer for a stream.
** If size < 0, it is assigned a suitable value depending on the
}end
cat{
-
- /* extern symbols must be protected against C++ name mangling */
- #ifndef _BEGIN_EXTERNS_
- #if __cplusplus || c_plusplus
- #define _BEGIN_EXTERNS_ extern "C" {
- #define _END_EXTERNS_ }
- #else
- #define _BEGIN_EXTERNS_
- #define _END_EXTERNS_
- #endif
- #endif /*_BEGIN_EXTERNS_*/
-
/* dynamic linked library external scope handling */
#undef extern
#if _dll_import && !defined(__EXPORT__) && _DLL_BLD
#undef _typ_ssize_t
#define _typ_ssize_t 0 /* ssize_t is a type */
-/* extern symbols must be protected against C++ name mangling */
-#ifndef _BEGIN_EXTERNS_
-#if defined(__cplusplus) || defined(c_plusplus)
-#define _BEGIN_EXTERNS_ extern "C" {
-#define _END_EXTERNS_ }
-#else
-#define _BEGIN_EXTERNS_
-#define _END_EXTERNS_
-#endif
-#endif /*_BEGIN_EXTERNS_*/
-
/* dynamic linked library external scope handling */
#undef extern
#if defined(_dll_import) && !defined(__EXPORT__) && defined(_DLL_BLD)