mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
Re-add something I didn't intend to remove with r7297
git-svn-id: https://svn.eduke32.com/eduke32@7299 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5ff83a5f5f
commit
ed0c45018e
1 changed files with 10 additions and 2 deletions
|
@ -129,6 +129,14 @@
|
|||
# define inline __inline
|
||||
#endif
|
||||
|
||||
#ifndef MAY_ALIAS
|
||||
# ifdef _MSC_VER
|
||||
# define MAY_ALIAS
|
||||
# else
|
||||
# define MAY_ALIAS __attribute__((may_alias))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef FORCE_INLINE
|
||||
# ifdef _MSC_VER
|
||||
# define FORCE_INLINE __forceinline
|
||||
|
@ -783,7 +791,7 @@ typedef reg_t unative_t;
|
|||
#endif
|
||||
EDUKE32_STATIC_ASSERT(sizeof(native_t) == sizeof(unative_t));
|
||||
|
||||
typedef struct {
|
||||
typedef struct MAY_ALIAS {
|
||||
int32_t x, y;
|
||||
} vec2_t;
|
||||
|
||||
|
@ -795,7 +803,7 @@ typedef struct {
|
|||
uint32_t x, y;
|
||||
} vec2u_t;
|
||||
|
||||
typedef struct {
|
||||
typedef struct MAY_ALIAS {
|
||||
int32_t x, y, z;
|
||||
} vec3_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue