We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3dc452 commit f4ae18eCopy full SHA for f4ae18e
src/xrCore/_vector4.h
@@ -2,6 +2,8 @@
2
#define _VECTOR4_H
3
#pragma once
4
5
+#include "Platform.h"
6
+
7
template <class T>
8
struct _vector4
9
{
@@ -63,9 +65,9 @@ typedef _vector4<float> Fvector4;
63
65
typedef _vector4<double> Dvector4;
64
66
typedef _vector4<s32> Ivector4;
67
#ifndef __BORLANDC__
-typedef __declspec(align(16)) _vector4<float> Fvector4a;
-typedef __declspec(align(16)) _vector4<double> Dvector4a;
68
-typedef __declspec(align(16)) _vector4<s32> Ivector4a;
+typedef ALIGN(16) _vector4<float> Fvector4a;
69
+typedef ALIGN(16) _vector4<double> Dvector4a;
70
+typedef ALIGN(16) _vector4<s32> Ivector4a;
71
#endif
72
73
0 commit comments