Feature test macro __msft_lib_proxy
Header:
proxy_macros.h
andproxy.h
#define __msft_lib_proxy /* see below */
Similar to the standard feature test macros, library "Proxy" has defined a feature test macro since 3.0.0. The table below maps each release version number to the corresponding value of __msft_lib_proxy
.
Version | Value of __msft_lib_proxy |
---|---|
4.0.0 | 202505L |
3.3.0 | 202503L |
3.2.1 | 202502L |
3.2.0 | 202501L |
3.1.0 | 202410L |
3.0.0 | 202408L |
Example
#include <cstdio>
#include <proxy/proxy.h>
int main() {
#if defined(__msft_lib_proxy) && __msft_lib_proxy >= 202408L
puts("Compiled with library Proxy 3.0.0 or above.");
#else
puts("Cannot determine the version of library Proxy.");
#endif
}