Some defines for Symbian compilers. From Gwl.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3047 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -34,6 +34,7 @@ typedef SWORD SIZE;
|
||||
|
||||
typedef unsigned char UNICODE;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FALSE = 0,
|
||||
@@ -74,6 +75,14 @@ typedef DWORD (*PDWORDFUNC) (void);
|
||||
// Leaving it alone for now.
|
||||
# define _PACKED
|
||||
# define _ALIGNED_ON(bytes)
|
||||
#elif defined(__ARMCC__)
|
||||
# define _PACKED __attribute__((packed))
|
||||
# define _ALIGNED_ANY __attribute__((aligned))
|
||||
# define _ALIGNED_ON(bytes) __attribute__((aligned(bytes)))
|
||||
#elif defined(__WINSCW__)
|
||||
# define _PACKED
|
||||
# define _ALIGNED_ANY
|
||||
# define _ALIGNED_ON(bytes)
|
||||
#endif
|
||||
|
||||
#endif /* _COMPILER_H */
|
||||
|
||||
Reference in New Issue
Block a user