#ifndef SAND_COMPILER_ATTRIBUTES_H #define SAND_COMPILER_ATTRIBUTES_H // This is a helper module which defines various small helpers. It should only // be used internally, hence the underscore prefix. #ifdef __GNUC__ #define _SAND_FORMAT_ATTR(archetype, string_index, first_to_check) __attribute__((format(archetype, string_index, first_to_check))) #else #define _SAND_FORMAT_ATTR(archetype, string_index, first_to_check) #endif #endif