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
|
@ -21,11 +21,12 @@
|
|||
#include "texture.hpp"
|
||||
#include "sdlmain.hpp"
|
||||
#include "sizeratio.hpp"
|
||||
#include "compatibility.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace cloonel {
|
||||
namespace {
|
||||
float2 CountTilesInScreen ( const ushort2& parScreenSize, const ushort2& parTileSize ) __attribute__((pure));
|
||||
float2 CountTilesInScreen ( const ushort2& parScreenSize, const ushort2& parTileSize ) a_pure;
|
||||
|
||||
///----------------------------------------------------------------------
|
||||
///----------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue