diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-14 18:53:10 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-14 18:53:10 -0800 |
| commit | 3583d5e407476b8836228c0abc52c400d74aba61 (patch) | |
| tree | 113b6510b9f3d4f7eaffd331ecbd173724327c96 /src/platform/posix/posix_impl.h | |
| parent | e6476c5e4eac773aed4b76f16d3e76e7956c2468 (diff) | |
| download | nng-3583d5e407476b8836228c0abc52c400d74aba61.tar.gz nng-3583d5e407476b8836228c0abc52c400d74aba61.tar.bz2 nng-3583d5e407476b8836228c0abc52c400d74aba61.zip | |
More robust platform definition support.
The idea is that someday it will be possible to just concatenate the entire
set of source files into a single giant source file, for systems that
want to work this way. As a result, the build system now compiles every
file, although some of them will not have any definitions.
Diffstat (limited to 'src/platform/posix/posix_impl.h')
| -rw-r--r-- | src/platform/posix/posix_impl.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h index 60a1d663..48b6e99b 100644 --- a/src/platform/posix/posix_impl.h +++ b/src/platform/posix/posix_impl.h @@ -31,11 +31,12 @@ */ #ifdef PLATFORM_POSIX +#define PLATFORM_POSIX_ALLOC +#define PLATFORM_POSIX_DEBUG +#define PLATFORM_POSIX_CLOCK +#define PLATFORM_POSIX_SYNCH +#define PLATFORM_POSIX_THREAD +#define PLATFORM_POSIX_VSNPRINTF + #include "platform/posix/posix_config.h" -#include "platform/posix/posix_debug.h" -#include "platform/posix/posix_alloc.h" -#include "platform/posix/posix_clock.h" -#include "platform/posix/posix_synch.h" -#include "platform/posix/posix_thread.h" -#include "platform/posix/posix_vsnprintf.h" #endif |
