mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
Revert "FexHeaderUtils: Add TodoDefines"
This reverts commit ad1fd7f54b.
This commit is contained in:
1 parent
a3a55d19b8
commit
3b67e573b5
1 file changed
-20
@@ -1,20 +0,0 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#ifndef DO_PRAGMA
|
||||
#define DO_PRAGMA(x) _Pragma(#x)
|
||||
#endif
|
||||
|
||||
#if FEX_WARN_TODO
|
||||
// Use like FEX_TODO_ISSUE(github ticket number, username, comment) or
|
||||
// FEX_TODO_ISSUE(github ticket number, comment)
|
||||
#define FEX_TODO_ISSUE(number, ...) DO_PRAGMA(GCC warning "TODO: https://github.com/FEX-Emu/FEX/issues/" #number __VA_ARGS__)
|
||||
// Use like FEX_TODO(username, comment) or FEX_TODO(comment)
|
||||
#define FEX_TODO(...) DO_PRAGMA(GCC warning "TODO: " __VA_ARGS__);
|
||||
#else
|
||||
// Use like FEX_TODO_ISSUE(github ticket number, username, comment) or
|
||||
// FEX_TODO_ISSUE(github ticket number, comment)
|
||||
#define FEX_TODO_ISSUE(number, ...) do {} while (false)
|
||||
// Use like FEX_TODO(username, comment) or FEX_TODO(comment)
|
||||
#define FEX_TODO(...) do {} while (false)
|
||||
#endif
|
||||
Reference in new issue
Block a user