#563 Compilation fails when building with -ansi or -std=c++0x

Platform_Specific
closed
nobody
7
2012-09-14
2012-08-15
No

The preprocessor symbol "linux" is a GNUism. Compilation breaks when using -ansi. The portable symbol to use is "linux" instead.

Discussion

  • Trivial patch.

     
    Attachments
  • This could also be fixed using:

    if (POCO_OS == POCO_OS_LINUX)