Closed toinehartman closed 6 years ago
POSIX is not defined by my compiler, APPLE is. This is on GCC 4.8.3 installed from Homebrew. Compiler skips to the error on :322 and no platform_*.h is included, leading to errors during compilation.
samples/posix/Makefile defines the POSIX macro, which you should be able to do in the Makefile for your project as well.
samples/posix/Makefile
POSIX
POSIX is not defined by my compiler, APPLE is. This is on GCC 4.8.3 installed from Homebrew. Compiler skips to the error on :322 and no platform_*.h is included, leading to errors during compilation.