mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
This should be the end of the identity crisis with files' copyright headers/disclosures. We shall not be using names in the headers, since this does not make sense, this is covered by the git logs, and is preferred. The following commit will tackle the CONTRIBUTORS file, to specify how it should be generated.
16 lines
724 B
C
16 lines
724 B
C
/* Copyright (C)2025 MCA-Selector-Lite
|
|
* Licensed under GPL-2.0-only. For further information,
|
|
* view `git log`, and the COPYING and CONTRIBUTORS files
|
|
* at www.github.com/thepigeongenerator/mcaselector-lite. */
|
|
#pragma once
|
|
|
|
#if defined(__unix__)
|
|
#define unixonly(_exec) _exec // executes inline code when __unix__ is defined, otherwise is no-op
|
|
#define winonly(_exec) // (no-op) executes inline code when _WIN32 is defined, otherwise is no-op
|
|
#elif defined(_WIN32)
|
|
#define unixonly(_exec) // (no-op) executes inline code when __unix__ is defined, otherwise is no-op
|
|
#define winonly(_exec) _exec // executes inline code when _WIN32 is defined, otherwise is no-op
|
|
#else
|
|
#error platform unsupported!!
|
|
#endif
|