aboutsummaryrefslogtreecommitdiff
path: root/src/framework/Platform
diff options
context:
space:
mode:
authorXanadu <none@none>2010-02-05 13:01:32 +0100
committerXanadu <none@none>2010-02-05 13:01:32 +0100
commitf8d1920fa591d2aba16bf70023c64f4379c0114d (patch)
tree2c62d72bd6d0941e1969e8820b890ee5a43a827e /src/framework/Platform
parenta5d1bc77abc275402240bec1380fa87f04461ba8 (diff)
Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG-- branch : trunk
Diffstat (limited to 'src/framework/Platform')
-rw-r--r--src/framework/Platform/Define.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 205135c62d0..5ebed25819a 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -40,25 +40,12 @@
#endif //TRINITY_ENDIAN
#if PLATFORM == PLATFORM_WINDOWS
-# define TRINITY_IMPORT __cdecl
# define TRINITY_PATH_MAX MAX_PATH
-#else //PLATFORM != PLATFORM_WINDOWS
-# if defined(__APPLE_CC__) && defined(BIG_ENDIAN)
-# define TRINITY_IMPORT __attribute__ ((longcall))
-# elif defined(__x86_64__)
-# define TRINITY_IMPORT
-# else
-# define TRINITY_IMPORT __attribute__ ((cdecl))
-# endif //__APPLE_CC__ && BIG_ENDIAN
-# define TRINITY_PATH_MAX PATH_MAX
-#endif //PLATFORM
-
-
-#if PLATFORM == PLATFORM_WINDOWS
# ifndef DECLSPEC_NORETURN
# define DECLSPEC_NORETURN __declspec(noreturn)
# endif //DECLSPEC_NORETURN
#else //PLATFORM != PLATFORM_WINDOWS
+# define TRINITY_PATH_MAX PATH_MAX
# define DECLSPEC_NORETURN
#endif //PLATFORM