Skip to content

non-standard system-specific preprocessor-defines #2

@robksawyer

Description

@robksawyer

Is there a reason to use LINUX and MACOSX (or even TARGET_OS_MAC) in the c/c++/h-files?

Any c/c++-compiler that runs under linux that i know, will automatically define __linux__.

Any c/c++-compiler that runs under osX that i know, will automatically define __APPLE__.

Unfortunately, there is no such thing under Windows (I guess, because it is the "only os" ;-))

Why not use the standard defines? people could make life so simple...

Merged from https://sourceforge.net/p/freeframe/bugs/2/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions