Bug #499
Undefined POSIX
Status: | Approved | Start date: | 08/04/2013 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | - | Spent time: | - | |
Target version: | - |
History
#1 Updated by Sender Ghost about 11 years ago
- Status changed from New to Patch ready
#2 Updated by Sender Ghost about 11 years ago
It's easy to check:
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
Cout() << "POSIX "
#ifdef POSIX
<< "defined"
#else
<< "undefined"
#endif
<< ".\nflagPOSIX "
#ifdef flagPOSIX
<< "defined"
#else
<< "undefined"
#endif
<< ".\nPLATFORM_POSIX "
#ifdef PLATFORM_POSIX
<< "defined"
#else
<< "undefined"
#endif
<< ".\n";
}
With following results (on FreeBSD 9.1):
POSIX undefined. flagPOSIX defined. PLATFORM_POSIX defined.
#3 Updated by Miroslav Fidler about 11 years ago
- Status changed from Patch ready to Approved
thanks!