mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-05-04 21:21:21 +00:00
Bugfix: Fixes #299, Unable to compile desktop package
This commit is contained in:
@@ -24,6 +24,18 @@
|
||||
*/
|
||||
#define WINTC_UNUSED(arg) __attribute__((unused)) arg
|
||||
|
||||
/**
|
||||
* @def WINTC_DEBUG_ONLY(arg)
|
||||
*
|
||||
* Marks a parameter as only used in chcked builds, so the compiler does not
|
||||
* complain for free builds.
|
||||
*/
|
||||
#ifdef WINTC_CHECKED
|
||||
#define WINTC_DEBUG_ONLY(arg) arg
|
||||
#else
|
||||
#define WINTC_DEBUG_ONLY(arg) WINTC_UNUSED(arg)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def WINTC_RETURN_IF_FAIL(cond)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user