diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2011-10-06 18:51:57 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2011-10-06 18:51:57 +0100 |
commit | f207b22c6efa7267b476339d52056e27f1ef930c (patch) | |
tree | c43ae006a2c28ab422bdc6351c81bf13c3dd54c8 /src/xine-engine/xine_private.h | |
parent | e4b75132a31fef25960ea7abbf5dace418b1fc37 (diff) | |
parent | ed405d729443f414faa9e92094a23bad236ae9c6 (diff) | |
download | xine-lib-f207b22c6efa7267b476339d52056e27f1ef930c.tar.gz xine-lib-f207b22c6efa7267b476339d52056e27f1ef930c.tar.bz2 |
Merge from 1.1.
--HG--
rename : src/xine-utils/attributes.h => include/xine/attributes.h
Diffstat (limited to 'src/xine-engine/xine_private.h')
-rw-r--r-- | src/xine-engine/xine_private.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xine-engine/xine_private.h b/src/xine-engine/xine_private.h index a82f6a05f..f1e94cd56 100644 --- a/src/xine-engine/xine_private.h +++ b/src/xine-engine/xine_private.h @@ -29,15 +29,25 @@ #ifndef XINE_PRIVATE_H__ #define XINE_PRIVATE_H__ +#ifndef XINE_LIBRARY_COMPILE +# error xine_private.h is for libxine's private use only! +#endif + #include <config.h> #include <xine/xine_internal.h> #if SUPPORT_ATTRIBUTE_VISIBILITY_INTERNAL # define INTERNAL __attribute__((visibility("internal"))) +#elif SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT +# define INTERNAL __attribute__((__visibility__("default"))) #else # define INTERNAL #endif +#ifdef __cplusplus +extern "C" { +#endif + /** * @defgroup load_plugins Plugins loading * @brief Functions related with plugins loading. @@ -101,4 +111,8 @@ int _x_set_file_close_on_exec(int fd) INTERNAL; int _x_set_socket_close_on_exec(int s) INTERNAL; +#ifdef __cplusplus +} +#endif + #endif |