This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2014-09-22 01:42:20 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include "debug.h"
|
|
|
|
|
2014-11-14 08:46:07 +00:00
|
|
|
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
2014-09-22 01:42:20 +00:00
|
|
|
|
|
|
|
debug_config_t debug_config = {
|
2014-11-14 13:53:25 +00:00
|
|
|
/* GCC Bug 10676 - Using unnamed fields in initializers
|
|
|
|
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676 */
|
2014-11-14 08:46:07 +00:00
|
|
|
#if GCC_VERSION >= 40600
|
2014-09-22 01:42:20 +00:00
|
|
|
.enable = false,
|
|
|
|
.matrix = false,
|
|
|
|
.keyboard = false,
|
|
|
|
.mouse = false,
|
2014-11-14 13:53:25 +00:00
|
|
|
.reserved = 0
|
|
|
|
#else
|
|
|
|
{
|
|
|
|
false, // .enable
|
|
|
|
false, // .matrix
|
|
|
|
false, // .keyboard
|
|
|
|
false, // .mouse
|
|
|
|
0 // .reserved
|
|
|
|
}
|
2014-11-14 08:46:07 +00:00
|
|
|
#endif
|
2014-09-22 01:42:20 +00:00
|
|
|
};
|