Define AVS_COMMONS_POSIX_COMPAT_HEADER
Defined in File avs_commons_config.h
Define Documentation
-
AVS_COMMONS_POSIX_COMPAT_HEADER
Specify an optional compatibility header that allows use of POSIX-specific code that is not compliant with POSIX enough to be compiled directly.
This header, if specified, will be included only by the following components, which may be enabled or disabled depending on state of the referenced flags:
avs_compat_threading implementation based on POSIX Threads (AVS_COMMONS_COMPAT_THREADING_WITH_PTHREAD)
default avs_net socket implementation (AVS_COMMONS_NET_WITH_POSIX_AVS_SOCKET)
avs_unit (AVS_COMMONS_WITH_AVS_UNIT)
default implementation of avs_time routines (AVS_COMMONS_UTILS_WITH_POSIX_AVS_TIME)
Compatibility headers for lwIP and Microsoft Windows are provided with the library (see the
compatdirectory).If this macro is not defined, the afore-mentioned components, if enabled, will use system headers directly, assuming they are POSIX-compliant.
If this macro is enabled, the specified file will be included through an
#include AVS_COMMONS_POSIX_COMPAT_HEADERstatement. Thus, if editing this file manually,shall be replaced with a path to such file.