SuperTux: updated

This commit is contained in:
Sergii Pylypenko
2015-12-25 20:50:34 +02:00
parent c1cb538f2e
commit 06fae348e2
9 changed files with 116 additions and 21 deletions

View File

@@ -0,0 +1,41 @@
#ifndef SQUIRREL_API_H
#define SQUIRREL_API_H
#ifdef squirrel_BUILT_AS_STATIC
# define SQUIRREL_API
# define SQUIRREL_NO_EXPORT
#else
# ifndef SQUIRREL_API
# ifdef squirrel_EXPORTS
/* We are building this library */
# define SQUIRREL_API
# else
/* We are using this library */
# define SQUIRREL_API
# endif
# endif
# ifndef SQUIRREL_NO_EXPORT
# define SQUIRREL_NO_EXPORT
# endif
#endif
#ifndef SQUIRREL_DEPRECATED
# define SQUIRREL_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef SQUIRREL_DEPRECATED_EXPORT
# define SQUIRREL_DEPRECATED_EXPORT SQUIRREL_API SQUIRREL_DEPRECATED
#endif
#ifndef SQUIRREL_DEPRECATED_NO_EXPORT
# define SQUIRREL_DEPRECATED_NO_EXPORT SQUIRREL_NO_EXPORT SQUIRREL_DEPRECATED
#endif
#define DEFINE_NO_DEPRECATED 0
#if DEFINE_NO_DEPRECATED
# define SQUIRREL_NO_DEPRECATED
#endif
#endif