Library portability helper definitions.
Definition in file portability.h.
#include <cstdint>
#include <sys/types.h>
#include <ostream>
Go to the source code of this file.
Macros | |
#define | P1_ALIGNAS(N) alignas(N) |
#define | P1_CONSTEXPR_FUNC inline |
#define | P1_EXPORT |
#define | P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L) |
#define | P1_HAVE_STD_FUNCTION 1 |
#define | P1_HAVE_STD_OSTREAM 1 |
#define | P1_HAVE_STD_SMART_PTR 1 |
#define | P1_HIDDEN |
Typedefs | |
using | p1_ostream = std::ostream |
typedef ssize_t | p1_ssize_t |
#define P1_ALIGNAS | ( | N | ) | alignas(N) |
Definition at line 58 of file portability.h.
#define P1_CONSTEXPR_FUNC inline |
Definition at line 106 of file portability.h.
#define P1_EXPORT |
Definition at line 34 of file portability.h.
#define P1_HAVE_MULTILINE_CONSTEXPR_FUNC (__cplusplus >= 201402L) |
Definition at line 99 of file portability.h.
#define P1_HAVE_STD_FUNCTION 1 |
Definition at line 89 of file portability.h.
#define P1_HAVE_STD_OSTREAM 1 |
Definition at line 72 of file portability.h.
#define P1_HAVE_STD_SMART_PTR 1 |
Definition at line 93 of file portability.h.
#define P1_HIDDEN |
Definition at line 35 of file portability.h.
using p1_ostream = std::ostream |
Definition at line 75 of file portability.h.
typedef ssize_t p1_ssize_t |
Definition at line 67 of file portability.h.