aboutsummaryrefslogtreecommitdiff
path: root/scummsys.h
diff options
context:
space:
mode:
authorClaudio Matsuoka2001-11-12 09:44:09 +0000
committerClaudio Matsuoka2001-11-12 09:44:09 +0000
commitd4a8d84f78caa0db98a39bc8141a82e03be35509 (patch)
treecd23e7cd7812d3a5168d2419d8ca07f25dd21282 /scummsys.h
parentb9facc7de40655b12c779b4ba2b4756847db1aff (diff)
downloadscummvm-rg350-d4a8d84f78caa0db98a39bc8141a82e03be35509.tar.gz
scummvm-rg350-d4a8d84f78caa0db98a39bc8141a82e03be35509.tar.bz2
scummvm-rg350-d4a8d84f78caa0db98a39bc8141a82e03be35509.zip
Set CDECL and NORETURN to gcc values when compiling with Cygwin.
svn-id: r3487
Diffstat (limited to 'scummsys.h')
-rw-r--r--scummsys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scummsys.h b/scummsys.h
index a15a2a4f20..4246b10876 100644
--- a/scummsys.h
+++ b/scummsys.h
@@ -57,7 +57,8 @@ typedef signed long int32;
#define SCUMM_LITTLE_ENDIAN
#define FORCEINLINE inline
-#define NORETURN _declspec(noreturn)
+#define NORETURN __attribute__((__noreturn__))
+#define CDECL
typedef unsigned char byte;
typedef unsigned char uint8;