// defines.h : // #if !defined(AGD_DEFINES_H__DDEAB8B0_8BCD_468E_B490_46C8E63A29D4__INCLUDED_) #define AGD_DEFINES_H__DDEAB8B0_8BCD_468E_B490_46C8E63A29D4__INCLUDED_ ///////////////////////////////////////////////////////////////////////////// // defines.h - Declarations: #define _REST_USE_SSL 0 #define _REST_LINEAR_GET 1 ///////////////////////////////////////////////////////////////////////////// #ifdef __cplusplus template inline static const T& __min(const T& a, const T& b) { return (a < b) ? a : b; } template inline static const T& __max(const T& a, const T& b) { return (a > b) ? a : b; } #else // __cplusplus #define __min(x, y) (((x) < (y)) ? (x) : (y)) #define __max(x, y) (((x) > (y)) ? (x) : (y)) #endif // __cplusplus #endif // !defined(AGD_DEFINES_H__DDEAB8B0_8BCD_468E_B490_46C8E63A29D4__INCLUDED_)