mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 13:26:02 -04:00
More Linux work. This has Render, Animate and Genome building and running on Linux.
This commit is contained in:
@ -13,7 +13,13 @@
|
||||
|
||||
namespace EmberCLns
|
||||
{
|
||||
#define ALIGN __declspec(align(16))//These two must always match.
|
||||
//These two must always match.
|
||||
#ifdef WIN32
|
||||
#define ALIGN __declspec(align(16))
|
||||
#else
|
||||
#define ALIGN __attribute__ ((aligned (16)))
|
||||
#endif
|
||||
|
||||
#define ALIGN_CL "((aligned (16)))"//The extra parens are necessary.
|
||||
|
||||
/// <summary>
|
||||
@ -378,4 +384,4 @@ static const char* UnionCLStructString =
|
||||
" real_t m_Reals[4];\n"
|
||||
"} real4reals;\n"
|
||||
"\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user