1 2 3 4 5 6 7 8 9 10 11 12
#ifndef __UNUSED_H #define __UNUSED_H #if defined( __GNUC__ ) #define CRAWLER_UNUSED( x ) x __attribute__( ( unused ) ) #elif defined( __MSVC__ ) #define CRAWLER_UNUSED( x ) __pragma( warning( suppress: 4100 4101 ) ) x #else #define CRAWLER_UNUSED( x ) x #endif #endif