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:
terminx 2018-12-23 23:23:50 +00:00
parent 5ff83a5f5f
commit ed0c45018e

View file

@ -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;