aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-10 01:05:48 +0000
committerJohannes Schickel2011-02-10 01:05:48 +0000
commit9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6 (patch)
treeb2ae909a56ad6e8403e7a7213d191f1c6be50ab9 /common
parentece050e26c8397e32038662fcdc451bfa6e28351 (diff)
downloadscummvm-rg350-9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6.tar.gz
scummvm-rg350-9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6.tar.bz2
scummvm-rg350-9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6.zip
CONFIGURE: Add basic support for ICC.
svn-id: r55862
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 385fedcf1d..b0f514cdd1 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -372,6 +372,10 @@
#if !defined(FORCEINLINE) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
#define FORCEINLINE inline __attribute__((__always_inline__))
#endif
+#elif defined(__INTEL_COMPILER)
+ #define NORETURN_POST __attribute__((__noreturn__))
+ #define PACKED_STRUCT __attribute__((__packed__))
+ #define GCC_PRINTF(x,y) __attribute__((__format__(printf, x, y)))
#else
#define PACKED_STRUCT
#define GCC_PRINTF(x,y)