Replace __attribute__ keywords with a macro to improve compiler compatibility.
This commit is contained in:
parent
dff58a98ef
commit
4e89878eb4
13 changed files with 118 additions and 48 deletions
|
@ -1,8 +1,9 @@
|
|||
#include "sizeratio.hpp"
|
||||
#include "compatibility.h"
|
||||
|
||||
namespace cloonel {
|
||||
namespace {
|
||||
float2 CalculateRatio ( float2 parOriginal, float2 parResolution ) __attribute__((pure));
|
||||
float2 CalculateRatio ( float2 parOriginal, float2 parResolution ) a_pure;
|
||||
|
||||
///----------------------------------------------------------------------
|
||||
///----------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue