emile: cleanup header from useless cruft.
This commit is contained in:
parent
a2385e2ebc
commit
4a84267d86
|
@ -16,6 +16,40 @@
|
|||
* License along with this library;
|
||||
* if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef EMILE_H_
|
||||
#define EMILE_H_
|
||||
|
||||
#include <Eina.h>
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_EMILE_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Emile serialization, compression and ciphering public API calls.
|
||||
|
@ -24,40 +58,6 @@
|
|||
*
|
||||
* @date 2013 (created)
|
||||
*/
|
||||
#ifndef EMILE_H_
|
||||
#define EMILE_H_
|
||||
|
||||
#include <Eina.h>
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif /* ifdef EAPI */
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_EMILE_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else /* ifdef DLL_EXPORT */
|
||||
# define EAPI
|
||||
# endif /* ! DLL_EXPORT */
|
||||
# else /* ifdef EFL_EET_BUILD */
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif /* ! EFL_EET_BUILD */
|
||||
#else /* ifdef _WIN32 */
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# else /* if __GNUC__ >= 4 */
|
||||
# define EAPI
|
||||
# endif /* if __GNUC__ >= 4 */
|
||||
# else /* ifdef __GNUC__ */
|
||||
# define EAPI
|
||||
# endif /* ifdef __GNUC__ */
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* ifdef __cplusplus */
|
||||
|
||||
/**
|
||||
* @file Emile.h
|
||||
|
@ -112,6 +112,6 @@ EAPI int emile_shutdown(void);
|
|||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* ifdef __cplusplus */
|
||||
#endif
|
||||
|
||||
#endif /* ifndef _EET_H */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue