Replace __attribute__ keywords with a macro to improve compiler compatibility.

This commit is contained in:
King_DuckZ 2014-08-14 12:00:04 +02:00
parent dff58a98ef
commit 4e89878eb4
13 changed files with 118 additions and 48 deletions

View file

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